Package net.minecraft.entity.ai.control
Class AquaticMoveControl
java.lang.Object
net.minecraft.entity.ai.control.MoveControl
net.minecraft.entity.ai.control.AquaticMoveControl
- All Implemented Interfaces:
Control
- Direct Known Subclasses:
AxolotlEntity.AxolotlMoveControl
- Mappings:
Namespace Name official bly
intermediary net/minecraft/class_5757
named net/minecraft/entity/ai/control/AquaticMoveControl
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.control.MoveControl
MoveControl.State
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private static final float
private static final float
private final int
private final float
private final float
private final int
Fields inherited from class net.minecraft.entity.ai.control.MoveControl
entity, field_30197, field_30199, forwardMovement, REACHED_DESTINATION_DISTANCE_SQUARED, sidewaysMovement, speed, state, targetX, targetY, targetZ
-
Constructor Summary
ConstructorDescriptionAquaticMoveControl
(MobEntity entity, int pitchChange, int yawChange, float speedInWater, float speedInAir, boolean buoyant) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.control.MoveControl
getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, strafeTo, wrapDegrees
-
Field Details
-
field_40123
private static final float field_40123- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lbly;l:F
intermediary field_40123
Lnet/minecraft/class_5757;field_40123:F
named field_40123
Lnet/minecraft/entity/ai/control/AquaticMoveControl;field_40123:F
-
field_40124
private static final float field_40124- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lbly;m:F
intermediary field_40124
Lnet/minecraft/class_5757;field_40124:F
named field_40124
Lnet/minecraft/entity/ai/control/AquaticMoveControl;field_40124:F
-
pitchChange
private final int pitchChange- Mappings:
Namespace Name Mixin selector official n
Lbly;n:I
intermediary field_28319
Lnet/minecraft/class_5757;field_28319:I
named pitchChange
Lnet/minecraft/entity/ai/control/AquaticMoveControl;pitchChange:I
-
yawChange
private final int yawChange- Mappings:
Namespace Name Mixin selector official o
Lbly;o:I
intermediary field_28320
Lnet/minecraft/class_5757;field_28320:I
named yawChange
Lnet/minecraft/entity/ai/control/AquaticMoveControl;yawChange:I
-
speedInWater
private final float speedInWater- Mappings:
Namespace Name Mixin selector official p
Lbly;p:F
intermediary field_28321
Lnet/minecraft/class_5757;field_28321:F
named speedInWater
Lnet/minecraft/entity/ai/control/AquaticMoveControl;speedInWater:F
-
speedInAir
private final float speedInAir- Mappings:
Namespace Name Mixin selector official q
Lbly;q:F
intermediary field_28322
Lnet/minecraft/class_5757;field_28322:F
named speedInAir
Lnet/minecraft/entity/ai/control/AquaticMoveControl;speedInAir:F
-
buoyant
private final boolean buoyant- Mappings:
Namespace Name Mixin selector official r
Lbly;r:Z
intermediary field_28323
Lnet/minecraft/class_5757;field_28323:Z
named buoyant
Lnet/minecraft/entity/ai/control/AquaticMoveControl;buoyant:Z
-
-
Constructor Details
-
AquaticMoveControl
public AquaticMoveControl(MobEntity entity, int pitchChange, int yawChange, float speedInWater, float speedInAir, boolean buoyant) - Mappings:
Namespace Name Mixin selector official <init>
Lbly;<init>(Lbfz;IIFFZ)V
intermediary <init>
Lnet/minecraft/class_5757;<init>(Lnet/minecraft/class_1308;IIFFZ)V
named <init>
Lnet/minecraft/entity/ai/control/AquaticMoveControl;<init>(Lnet/minecraft/entity/mob/MobEntity;IIFFZ)V
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classMoveControl
- Mappings:
Namespace Name Mixin selector official a
Lblw;a()V
intermediary method_6240
Lnet/minecraft/class_1335;method_6240()V
named tick
Lnet/minecraft/entity/ai/control/MoveControl;tick()V
-
method_45335
private static float method_45335(float float2) - Mappings:
Namespace Name Mixin selector official a
Lbly;a(F)F
intermediary method_45335
Lnet/minecraft/class_5757;method_45335(F)F
named method_45335
Lnet/minecraft/entity/ai/control/AquaticMoveControl;method_45335(F)F
-