类 FoxEntity.AttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MeleeAttackGoal
-
- net.minecraft.entity.passive.FoxEntity.AttackGoal
-
- 封闭类:
- FoxEntity
class FoxEntity.AttackGoal extends MeleeAttackGoal
- Mappings:
Namespace Name official bdi$lintermediary net/minecraft/class_4019$class_4029named net/minecraft/entity/passive/FoxEntity$AttackGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
-
从类继承的字段 net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
构造器概要
构造器 构造器 说明 AttackGoal(double speed, boolean pauseWhenIdle)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidattack(LivingEntity target, double squaredDistance)booleancanStart()voidstart()-
从类继承的方法 net.minecraft.entity.ai.goal.MeleeAttackGoal
getCooldown, getMaxCooldown, getSquaredMaxAttackDistance, isCooledDown, setMaxCooldown, shouldContinue, stop, tick
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
构造器详细资料
-
AttackGoal
public AttackGoal(double speed, boolean pauseWhenIdle)- Mappings:
Namespace Name Mixin selector official <init>Lbdi$l;<init>(Lbdi;DZ)Vintermediary <init>Lnet/minecraft/class_4019$class_4029;<init>(Lnet/minecraft/class_4019;DZ)Vnamed <init>Lnet/minecraft/entity/passive/FoxEntity$AttackGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;DZ)V
-
-
方法详细资料
-
attack
protected void attack(LivingEntity target, double squaredDistance)
- 覆盖:
attack在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLaza;a(Lasy;D)Vintermediary method_6288Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;D)Vnamed attackLnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;D)V
-
start
public void start()
- 覆盖:
start在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official cLayq;c()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
canStart
public boolean canStart()
- 覆盖:
canStart在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLayq;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
-