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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse()
protected void
checkAndPerformAttack
(LivingEntity p_28724_, double p_28725_) void
start()
Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canContinueToUse, getAttackInterval, getAttackReachSqr, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown, stop, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
FoxMeleeAttackGoal
public FoxMeleeAttackGoal(double p_28720_, boolean p_28721_)
-
-
Method Details
-
checkAndPerformAttack
- Overrides:
checkAndPerformAttack
in classMeleeAttackGoal
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-