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
- Mappings:
Namespace Name official axp
intermediary net/minecraft/class_1372
named net/minecraft/entity/ai/goal/IronGolemLookGoal
-
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
- Mappings:
Namespace Name Mixin selector official a
Laxp;a:Lbal;
intermediary field_18089
Lnet/minecraft/class_1372;field_18089:Lnet/minecraft/class_4051;
named CLOSE_VILLAGER_PREDICATE
Lnet/minecraft/entity/ai/goal/IronGolemLookGoal;CLOSE_VILLAGER_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
golem
- Mappings:
Namespace Name Mixin selector official b
Laxp;b:Lbbt;
intermediary field_6542
Lnet/minecraft/class_1372;field_6542:Lnet/minecraft/class_1439;
named golem
Lnet/minecraft/entity/ai/goal/IronGolemLookGoal;golem:Lnet/minecraft/entity/passive/IronGolemEntity;
-
targetVillager
- Mappings:
Namespace Name Mixin selector official c
Laxp;c:Lbgy;
intermediary field_6544
Lnet/minecraft/class_1372;field_6544:Lnet/minecraft/class_1646;
named targetVillager
Lnet/minecraft/entity/ai/goal/IronGolemLookGoal;targetVillager:Lnet/minecraft/entity/passive/VillagerEntity;
-
lookCountdown
private int lookCountdown- Mappings:
Namespace Name Mixin selector official d
Laxp;d:I
intermediary field_6543
Lnet/minecraft/class_1372;field_6543:I
named lookCountdown
Lnet/minecraft/entity/ai/goal/IronGolemLookGoal;lookCountdown:I
-
-
Constructor Details
-
IronGolemLookGoal
- Mappings:
Namespace Name Mixin selector official <init>
Laxp;<init>(Lbbt;)V
intermediary <init>
Lnet/minecraft/class_1372;<init>(Lnet/minecraft/class_1439;)V
named <init>
Lnet/minecraft/entity/ai/goal/IronGolemLookGoal;<init>(Lnet/minecraft/entity/passive/IronGolemEntity;)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-