public class InputUpdateEvent extends PlayerEvent
MovementInput
to cancel movement.PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private MovementInput |
movementInput |
Constructor and Description |
---|
InputUpdateEvent(EntityPlayer player,
MovementInput movementInput) |
Modifier and Type | Method and Description |
---|---|
MovementInput |
getMovementInput() |
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final MovementInput movementInput
public InputUpdateEvent(EntityPlayer player, MovementInput movementInput)
public MovementInput getMovementInput()