Package net.minecraft.entity.mob
Class SlimeEntity.FaceTowardTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SlimeEntity.FaceTowardTargetGoal
- Enclosing class:
SlimeEntity
- Mappings:
Namespace Name official bwl$a
intermediary net/minecraft/class_1621$class_1622
named net/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal
-
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, getControls, getTickCount, setControls, stop, toGoalTicks, toString
-
Field Details
-
slime
- Mappings:
Namespace Name Mixin selector official a
Lbwl$a;a:Lbwl;
intermediary field_7393
Lnet/minecraft/class_1621$class_1622;field_7393:Lnet/minecraft/class_1621;
named slime
Lnet/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal;slime:Lnet/minecraft/entity/mob/SlimeEntity;
-
ticksLeft
private int ticksLeft- Mappings:
Namespace Name Mixin selector official b
Lbwl$a;b:I
intermediary field_7392
Lnet/minecraft/class_1621$class_1622;field_7392:I
named ticksLeft
Lnet/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal;ticksLeft:I
-
-
Constructor Details
-
FaceTowardTargetGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbwl$a;<init>(Lbwl;)V
intermediary <init>
Lnet/minecraft/class_1621$class_1622;<init>(Lnet/minecraft/class_1621;)V
named <init>
Lnet/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal;<init>(Lnet/minecraft/entity/mob/SlimeEntity;)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lbmv;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
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 official K_
Lbmv;K_()Z
intermediary method_38846
Lnet/minecraft/class_1352;method_38846()Z
named shouldRunEveryTick
Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
-
tick
public void tick()
-