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 PandaEntity
panda
Fields 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 boolean
canStart()
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349, shouldContinue, start, stop, tick
Methods 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:
canStart
in classMeleeAttackGoal
-