Class Fox.FoxMeleeAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.world.entity.animal.Fox.FoxMeleeAttackGoal
- Enclosing class:
Fox
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
mob -
Constructor Summary
ConstructorsConstructorDescriptionFoxMeleeAttackGoal(double speedModifier, boolean followingTargetEvenIfNotSeen) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse()protected voidcheckAndPerformAttack(LivingEntity target) voidstart()Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canContinueToUse, canPerformAttack, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown, stop, tickMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
FoxMeleeAttackGoal
public FoxMeleeAttackGoal(double speedModifier, boolean followingTargetEvenIfNotSeen)
-
-
Method Details
-
checkAndPerformAttack
- Overrides:
checkAndPerformAttackin classMeleeAttackGoal
-
start
public void start()- Overrides:
startin classMeleeAttackGoal
-
canUse
public boolean canUse()- Overrides:
canUsein classMeleeAttackGoal
-