public class KeyEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Modifier and Type | Field and Description |
---|---|
EnumKeyPacketMode |
key
The function of the key pressed
|
net.minecraft.entity.player.EntityPlayerMP |
player
The player who pressed the key
|
Constructor and Description |
---|
KeyEvent(net.minecraft.entity.player.EntityPlayerMP player,
EnumKeyPacketMode key) |
public final net.minecraft.entity.player.EntityPlayerMP player
public final EnumKeyPacketMode key
public KeyEvent(net.minecraft.entity.player.EntityPlayerMP player, EnumKeyPacketMode key)