Package net.minecraft.entity.passive
Class SquidEntity.EscapeAttackerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.SquidEntity.EscapeAttackerGoal
- Enclosing class:
SquidEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal
intermediary net/minecraft/class_1477$class_1478
official civ$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private static final float
private int
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldContinue, stop, toGoalTicks, toString
-
Field Details
-
field_30375
private static final float field_30375- See Also:
- Mappings:
Namespace Name Mixin selector named field_30375
Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30375:F
intermediary field_30375
Lnet/minecraft/class_1477$class_1478;field_30375:F
official b
Lciv$a;b:F
-
field_30376
private static final float field_30376- See Also:
- Mappings:
Namespace Name Mixin selector named field_30376
Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30376:F
intermediary field_30376
Lnet/minecraft/class_1477$class_1478;field_30376:F
official c
Lciv$a;c:F
-
field_30377
private static final float field_30377- See Also:
- Mappings:
Namespace Name Mixin selector named field_30377
Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30377:F
intermediary field_30377
Lnet/minecraft/class_1477$class_1478;field_30377:F
official d
Lciv$a;d:F
-
timer
private int timer- Mappings:
Namespace Name Mixin selector named timer
Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;timer:I
intermediary field_6915
Lnet/minecraft/class_1477$class_1478;field_6915:I
official e
Lciv$a;e:I
-
-
Constructor Details
-
EscapeAttackerGoal
EscapeAttackerGoal()
-
-
Method Details
-
canStart
public boolean canStart() -
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()
-