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 TargetPredicateCLOSE_VILLAGER_PREDICATEprivate IronGolemEntitygolemprivate intlookCountdownprivate VillagerEntitytargetVillager -
Constructor Summary
Constructors Constructor Description IronGolemLookGoal(IronGolemEntity golem) -
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
-
CLOSE_VILLAGER_PREDICATE
-
golem
-
targetVillager
-
lookCountdown
private int lookCountdown
-
-
Constructor Details
-
IronGolemLookGoal
-
-
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()
-