Package net.minecraft.entity.ai.goal
Class IronGolemLookGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.IronGolemLookGoal
public class IronGolemLookGoal 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 static TargetPredicate
CLOSE_VILLAGER_PREDICATE
private IronGolemEntity
golem
private int
lookCountdown
private VillagerEntity
targetVillager
-
Constructor Summary
Constructors Constructor Description IronGolemLookGoal(IronGolemEntity golem)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
CLOSE_VILLAGER_PREDICATE
-
golem
-
targetVillager
-
lookCountdown
private int lookCountdown
-
-
Constructor Details
-
IronGolemLookGoal
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-