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
static class PandaEntity.AttackGoal extends MeleeAttackGoal
-
-
Field Summary
Fields Modifier and Type Field Description private PandaEntity
panda
-
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
Constructor Summary
Constructors Constructor Description AttackGoal(PandaEntity p_i51467_1_, double p_i51467_2_, boolean p_i51467_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
-
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 Detail
-
panda
private final PandaEntity panda
-
-
Constructor Detail
-
AttackGoal
public AttackGoal(PandaEntity p_i51467_1_, double p_i51467_2_, boolean p_i51467_4_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classMeleeAttackGoal
-
-