Package net.minecraft.entity.passive
Class FoxEntity.BiteGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.passive.FoxEntity.BiteGoal
- Enclosing class:
- FoxEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse()
protected void
checkAndPerformAttack
(LivingEntity p_190102_1_, double p_190102_2_) void
start()
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canContinueToUse, getAttackInterval, getAttackReachSqr, getTicksUntilNextAttack, isTimeToAttack, resetAttackCooldown, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Constructor Details
-
BiteGoal
public BiteGoal(double p_i50731_2_, boolean p_i50731_4_)
-
-
Method Details
-
checkAndPerformAttack
- Overrides:
checkAndPerformAttack
in classMeleeAttackGoal
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-