类 PolarBear.PolarBearMeleeAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.world.entity.animal.PolarBear.PolarBearMeleeAttackGoal
- 封闭类:
- PolarBear
-
嵌套类概要
-
字段概要
从类继承的字段 net.minecraft.world.entity.ai.goal.MeleeAttackGoal
mob
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
checkAndPerformAttack
(LivingEntity pEnemy, double pDistToEnemySqr) protected double
getAttackReachSqr
(LivingEntity pAttackTarget) void
stop()
从类继承的方法 net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canContinueToUse, canUse, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown, start, tick
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
构造器详细资料
-
PolarBearMeleeAttackGoal
public PolarBearMeleeAttackGoal()
-
-
方法详细资料
-
checkAndPerformAttack
- 覆盖:
checkAndPerformAttack
在类中MeleeAttackGoal
-
stop
public void stop()- 覆盖:
stop
在类中MeleeAttackGoal
-
getAttackReachSqr
- 覆盖:
getAttackReachSqr
在类中MeleeAttackGoal
-