001package net.minecraftforge.event.entity.player;
002
003import net.minecraft.entity.player.EntityPlayer;
004import net.minecraftforge.event.Cancelable;
005
006/**
007 * Occurs when a player falls, but is able to fly.  Doesn't need to be cancelable, this is mainly for notification purposes.
008 * @author Mithion
009 *
010 */
011public class PlayerFlyableFallEvent extends PlayerEvent
012{
013
014    public float distance;
015
016    public PlayerFlyableFallEvent(EntityPlayer player, float f)
017    {
018        super(player);
019        this.distance = f;
020    }
021
022}