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
class FoxEntity.BiteGoal extends MeleeAttackGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
Constructor Summary
Constructors Constructor Description BiteGoal(double p_i50731_2_, boolean p_i50731_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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
-
-
-
-
Method Detail
-
checkAndPerformAttack
protected void checkAndPerformAttack(LivingEntity p_190102_1_, double p_190102_2_)
- Overrides:
checkAndPerformAttack
in classMeleeAttackGoal
-
start
public void start()
- Overrides:
start
in classMeleeAttackGoal
-
canUse
public boolean canUse()
- Overrides:
canUse
in classMeleeAttackGoal
-
-