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 bgx
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 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
-
pitchChange
private final int pitchChange- Mappings:
Namespace Name Mixin selector official l
Lbgx;l: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 m
Lbgx;m: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 n
Lbgx;n: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 o
Lbgx;o: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 p
Lbgx;p: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>
Lbgx;<init>(Lbbh;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
Lbgv;a()V
intermediary method_6240
Lnet/minecraft/class_1335;method_6240()V
named tick
Lnet/minecraft/entity/ai/control/MoveControl;tick()V
-