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
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields Modifier and Type Field Description private PandaEntitypandaFields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob -
Constructor Summary
Constructors Constructor Description AttackGoal(PandaEntity panda, double speed, boolean pauseWhenMobIdle) -
Method Summary
Modifier and Type Method Description booleancanStart()Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349, shouldContinue, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
panda
-
-
Constructor Details
-
AttackGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMeleeAttackGoal
-