Package net.minecraft.entity.ai.control
Class FlightMoveControl
java.lang.Object
net.minecraft.entity.ai.control.MoveControl
net.minecraft.entity.ai.control.FlightMoveControl
public class FlightMoveControl extends MoveControl
- Mappings:
Namespace Name official avy
intermediary net/minecraft/class_1331
named net/minecraft/entity/ai/control/FlightMoveControl
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.control.MoveControl
MoveControl.State
-
Field Summary
Fields Modifier and Type Field Description private int
maxPitchChange
private boolean
noGravity
Fields inherited from class net.minecraft.entity.ai.control.MoveControl
entity, forwardMovement, sidewaysMovement, speed, state, targetX, targetY, targetZ
-
Constructor Summary
Constructors Constructor Description FlightMoveControl(MobEntity entity, int maxPitchChange, boolean noGravity)
-
Method Summary
Modifier and Type Method Description void
tick()
Methods inherited from class net.minecraft.entity.ai.control.MoveControl
changeAngle, getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, strafeTo
-
Field Details
-
maxPitchChange
private final int maxPitchChange- Mappings:
Namespace Name Mixin selector official i
Lavy;i:I
intermediary field_20349
Lnet/minecraft/class_1331;field_20349:I
named maxPitchChange
Lnet/minecraft/entity/ai/control/FlightMoveControl;maxPitchChange:I
-
noGravity
private final boolean noGravity- Mappings:
Namespace Name Mixin selector official j
Lavy;j:Z
intermediary field_20350
Lnet/minecraft/class_1331;field_20350:Z
named noGravity
Lnet/minecraft/entity/ai/control/FlightMoveControl;noGravity:Z
-
-
Constructor Details
-
FlightMoveControl
- Mappings:
Namespace Name Mixin selector official <init>
Lavy;<init>(Larj;IZ)V
intermediary <init>
Lnet/minecraft/class_1331;<init>(Lnet/minecraft/class_1308;IZ)V
named <init>
Lnet/minecraft/entity/ai/control/FlightMoveControl;<init>(Lnet/minecraft/entity/mob/MobEntity;IZ)V
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classMoveControl
- Mappings:
Namespace Name Mixin selector official a
Lawb;a()V
intermediary method_6240
Lnet/minecraft/class_1335;method_6240()V
named tick
Lnet/minecraft/entity/ai/control/MoveControl;tick()V
-