Package net.minecraft.entity.mob
Class SlimeEntity.SwimmingGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SlimeEntity.SwimmingGoal
- Enclosing class:
SlimeEntity
- Mappings:
Namespace Name named net/minecraft/entity/mob/SlimeEntity$SwimmingGoalintermediary net/minecraft/class_1621$class_1623official ckm$b
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldContinue, start, stop, toGoalTicks, toString
-
Field Details
-
slime
- Mappings:
Namespace Name Mixin selector named slimeLnet/minecraft/entity/mob/SlimeEntity$SwimmingGoal;slime:Lnet/minecraft/entity/mob/SlimeEntity;intermediary field_7394Lnet/minecraft/class_1621$class_1623;field_7394:Lnet/minecraft/class_1621;official aLckm$b;a:Lckm;
-
-
Constructor Details
-
SwimmingGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/mob/SlimeEntity$SwimmingGoal;<init>(Lnet/minecraft/entity/mob/SlimeEntity;)Vintermediary <init>Lnet/minecraft/class_1621$class_1623;<init>(Lnet/minecraft/class_1621;)Vofficial <init>Lckm$b;<init>(Lckm;)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldRunEveryTick
public boolean shouldRunEveryTick()Returns if the goal should run every tick or not.This returns
falseby default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.- Overrides:
shouldRunEveryTickin classGoal- Returns:
- if the goal should run every tick or not
- See Also:
- Mappings:
Namespace Name Mixin selector named shouldRunEveryTickLnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Zintermediary method_38846Lnet/minecraft/class_1352;method_38846()Zofficial V_Lcam;V_()Z
-
tick
public void tick()
-