Package net.minecraft.entity.mob
Class VindicatorEntity.BreakDoorGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.DoorInteractGoal
net.minecraft.entity.ai.goal.BreakDoorGoal
net.minecraft.entity.mob.VindicatorEntity.BreakDoorGoal
- Enclosing class:
- VindicatorEntity
static class VindicatorEntity.BreakDoorGoal extends BreakDoorGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.BreakDoorGoal
breakProgress, maxProgress, prevBreakProgress
Fields inherited from class net.minecraft.entity.ai.goal.DoorInteractGoal
doorPos, doorValid, mob
-
Constructor Summary
Constructors Constructor Description BreakDoorGoal(MobEntity mob)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.BreakDoorGoal
getMaxProgress, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.DoorInteractGoal
isDoorOpen, setDoorOpen
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
BreakDoorGoal
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classBreakDoorGoal
-
canStart
public boolean canStart()- Overrides:
canStart
in classBreakDoorGoal
-
start
public void start()- Overrides:
start
in classBreakDoorGoal
-