Package net.minecraft.entity.ai.goal
Class LookAroundGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LookAroundGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/LookAroundGoal
intermediary net/minecraft/class_1376
official cdy
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, stop, toGoalTicks, toString
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector named mob
Lnet/minecraft/entity/ai/goal/LookAroundGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
intermediary field_6556
Lnet/minecraft/class_1376;field_6556:Lnet/minecraft/class_1308;
official a
Lcdy;a:Lbwh;
-
deltaX
private double deltaX- Mappings:
Namespace Name Mixin selector named deltaX
Lnet/minecraft/entity/ai/goal/LookAroundGoal;deltaX:D
intermediary field_6554
Lnet/minecraft/class_1376;field_6554:D
official b
Lcdy;b:D
-
deltaZ
private double deltaZ- Mappings:
Namespace Name Mixin selector named deltaZ
Lnet/minecraft/entity/ai/goal/LookAroundGoal;deltaZ:D
intermediary field_6553
Lnet/minecraft/class_1376;field_6553:D
official c
Lcdy;c:D
-
lookTime
private int lookTime- Mappings:
Namespace Name Mixin selector named lookTime
Lnet/minecraft/entity/ai/goal/LookAroundGoal;lookTime:I
intermediary field_6555
Lnet/minecraft/class_1376;field_6555:I
official d
Lcdy;d:I
-
-
Constructor Details
-
LookAroundGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/LookAroundGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;)V
intermediary <init>
Lnet/minecraft/class_1376;<init>(Lnet/minecraft/class_1308;)V
official <init>
Lcdy;<init>(Lbwh;)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official c
Lcdd;c()Z
-
start
public void start() -
shouldRunEveryTick
public boolean shouldRunEveryTick()Returns if the goal should run every tick or not.This returns
false
by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.- Overrides:
shouldRunEveryTick
in classGoal
- Returns:
- if the goal should run every tick or not
- See Also:
- Mappings:
Namespace Name Mixin selector named shouldRunEveryTick
Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
intermediary method_38846
Lnet/minecraft/class_1352;method_38846()Z
official V_
Lcdd;V_()Z
-
tick
public void tick()
-