Package net.minecraft.entity.passive
Class PandaEntity.AttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.passive.PandaEntity.AttackGoal
- Enclosing class:
- PandaEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
ConstructorDescriptionAttackGoal
(PandaEntity p_i51467_1_, double p_i51467_2_, boolean p_i51467_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canContinueToUse, checkAndPerformAttack, getAttackInterval, getAttackReachSqr, getTicksUntilNextAttack, isTimeToAttack, resetAttackCooldown, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
panda
-
-
Constructor Details
-
AttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-