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$EscapeAttackerGoalintermediary net/minecraft/class_1477$class_1478official cgd$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final floatprivate static final floatprivate int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, 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_30375Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30375:Fintermediary field_30375Lnet/minecraft/class_1477$class_1478;field_30375:Fofficial bLcgd$a;b:F
-
field_30376
private static final float field_30376- See Also:
- Mappings:
Namespace Name Mixin selector named field_30376Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30376:Fintermediary field_30376Lnet/minecraft/class_1477$class_1478;field_30376:Fofficial cLcgd$a;c:F
-
field_30377
private static final float field_30377- See Also:
- Mappings:
Namespace Name Mixin selector named field_30377Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30377:Fintermediary field_30377Lnet/minecraft/class_1477$class_1478;field_30377:Fofficial dLcgd$a;d:F
-
timer
private int timer- Mappings:
Namespace Name Mixin selector named timerLnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;timer:Iintermediary field_6915Lnet/minecraft/class_1477$class_1478;field_6915:Iofficial eLcgd$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
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()
-