public class PlayerFlyableFallEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.ItemCraftedEvent, PlayerEvent.ItemPickupEvent, PlayerEvent.ItemSmeltedEvent, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.PlayerChangedDimensionEvent, PlayerEvent.PlayerLoggedInEvent, PlayerEvent.PlayerLoggedOutEvent, PlayerEvent.PlayerRespawnEvent, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private float |
distance |
private float |
multiplier |
Constructor and Description |
---|
PlayerFlyableFallEvent(PlayerEntity player,
float distance,
float multiplier) |
Modifier and Type | Method and Description |
---|---|
float |
getDistance() |
float |
getMultiplier() |
void |
setDistance(float distance) |
void |
setMultiplier(float multiplier) |
getPlayer
getEntityLiving
getEntity
public PlayerFlyableFallEvent(PlayerEntity player, float distance, float multiplier)