public class FlightMoveControl extends MoveControl
MoveControl.State| Modifier and Type | Field and Description |
|---|---|
private int |
maxPitchChange |
private boolean |
noGravity |
entity, forwardMovement, sidewaysMovement, speed, state, targetX, targetY, targetZ| Constructor and Description |
|---|
FlightMoveControl(MobEntity entity,
int maxPitchChange,
boolean noGravity) |
| Modifier and Type | Method and Description |
|---|---|
void |
tick() |
changeAngle, getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, strafeToprivate final int maxPitchChange
private final boolean noGravity
public FlightMoveControl(MobEntity entity, int maxPitchChange, boolean noGravity)
public void tick()
tick in class MoveControl