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 pSpeedModifier, boolean pFollowingTargetEvenIfNotSeen) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse()
protected void
checkAndPerformAttack
(LivingEntity pTarget) void
start()
Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canContinueToUse, canPerformAttack, getAttackInterval, 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 pSpeedModifier, boolean pFollowingTargetEvenIfNotSeen)
-
-
Method Details
-
checkAndPerformAttack
- Overrides:
checkAndPerformAttack
in classMeleeAttackGoal
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-