Package net.minecraft.entity.mob
Class ShulkerEntity.PeekGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.ShulkerEntity.PeekGoal
- Enclosing class:
- ShulkerEntity
class ShulkerEntity.PeekGoal extends Goal
-
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 intcounter -
Constructor Summary
Constructors Modifier Constructor Description privatePeekGoal() -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
counter
private int counter
-
-
Constructor Details
-
PeekGoal
private PeekGoal()
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-