mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Merge branch 'mithionchanges' of github.com:Mithion/MinecraftForge into mithionchanges
Fix up code for minecraftforge style. Clean up patches. Conflicts: common/forge_at.cfg patches/minecraft/net/minecraft/block/Block.java.patch
This commit is contained in:
commit
300f471c57
12 files changed
+411
-38
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package net.minecraftforge.event.entity.player;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraftforge.event.Cancelable;
|
||||
|
||||
/**
|
||||
* Occurs when a player falls, but is able to fly. Doesn't need to be cancelable, this is mainly for notification purposes.
|
||||
* @author Mithion
|
||||
*
|
||||
*/
|
||||
public class PlayerFlyableFallEvent extends PlayerEvent
|
||||
{
|
||||
|
||||
public float distance;
|
||||
|
||||
public PlayerFlyableFallEvent(EntityPlayer player, float f)
|
||||
{
|
||||
super(player);
|
||||
this.distance = f;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user