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, prevBreakProgressFields 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 booleancanStart()booleanshouldContinue()voidstart()Methods inherited from class net.minecraft.entity.ai.goal.BreakDoorGoal
getMaxProgress, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.DoorInteractGoal
isDoorOpen, setDoorOpenMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
BreakDoorGoal
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classBreakDoorGoal
-
canStart
public boolean canStart()- Overrides:
canStartin classBreakDoorGoal
-
start
public void start()- Overrides:
startin classBreakDoorGoal
-