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 ayu
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 boolean
private int
private float
private float
private int
Fields inherited from class net.minecraft.entity.ai.control.MoveControl
entity, field_30197, field_30198, field_30199, forwardMovement, 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
Layu;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
Layu;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
Layu;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
Layu;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
Layu;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>
Layu;<init>(Latv;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
Lays;a()V
intermediary method_6240
Lnet/minecraft/class_1335;method_6240()V
named tick
Lnet/minecraft/entity/ai/control/MoveControl;tick()V
-