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 named net/minecraft/entity/ai/control/AquaticMoveControl
intermediary net/minecraft/class_5757
official bzt
-
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 named field_40123
Lnet/minecraft/entity/ai/control/AquaticMoveControl;field_40123:F
intermediary field_40123
Lnet/minecraft/class_5757;field_40123:F
official l
Lbzt;l:F
-
field_40124
private static final float field_40124- See Also:
- Mappings:
Namespace Name Mixin selector named field_40124
Lnet/minecraft/entity/ai/control/AquaticMoveControl;field_40124:F
intermediary field_40124
Lnet/minecraft/class_5757;field_40124:F
official m
Lbzt;m:F
-
pitchChange
private final int pitchChange- Mappings:
Namespace Name Mixin selector named pitchChange
Lnet/minecraft/entity/ai/control/AquaticMoveControl;pitchChange:I
intermediary field_28319
Lnet/minecraft/class_5757;field_28319:I
official n
Lbzt;n:I
-
yawChange
private final int yawChange- Mappings:
Namespace Name Mixin selector named yawChange
Lnet/minecraft/entity/ai/control/AquaticMoveControl;yawChange:I
intermediary field_28320
Lnet/minecraft/class_5757;field_28320:I
official o
Lbzt;o:I
-
speedInWater
private final float speedInWater- Mappings:
Namespace Name Mixin selector named speedInWater
Lnet/minecraft/entity/ai/control/AquaticMoveControl;speedInWater:F
intermediary field_28321
Lnet/minecraft/class_5757;field_28321:F
official p
Lbzt;p:F
-
speedInAir
private final float speedInAir- Mappings:
Namespace Name Mixin selector named speedInAir
Lnet/minecraft/entity/ai/control/AquaticMoveControl;speedInAir:F
intermediary field_28322
Lnet/minecraft/class_5757;field_28322:F
official q
Lbzt;q:F
-
buoyant
private final boolean buoyant- Mappings:
Namespace Name Mixin selector named buoyant
Lnet/minecraft/entity/ai/control/AquaticMoveControl;buoyant:Z
intermediary field_28323
Lnet/minecraft/class_5757;field_28323:Z
official r
Lbzt;r:Z
-
-
Constructor Details
-
AquaticMoveControl
public AquaticMoveControl(MobEntity entity, int pitchChange, int yawChange, float speedInWater, float speedInAir, boolean buoyant) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/control/AquaticMoveControl;<init>(Lnet/minecraft/entity/mob/MobEntity;IIFFZ)V
intermediary <init>
Lnet/minecraft/class_5757;<init>(Lnet/minecraft/class_1308;IIFFZ)V
official <init>
Lbzt;<init>(Lbts;IIFFZ)V
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classMoveControl
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/control/MoveControl;tick()V
intermediary method_6240
Lnet/minecraft/class_1335;method_6240()V
official a
Lbzr;a()V
-
method_45335
private static float method_45335(float float2) - Mappings:
Namespace Name Mixin selector named method_45335
Lnet/minecraft/entity/ai/control/AquaticMoveControl;method_45335(F)F
intermediary method_45335
Lnet/minecraft/class_5757;method_45335(F)F
official a
Lbzt;a(F)F
-