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
-
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 intmaxPitchChangeprivate booleannoGravityFields 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 voidtick()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 -
noGravity
private final boolean noGravity
-
-
Constructor Details
-
FlightMoveControl
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classMoveControl
-