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