Package | Description |
---|---|
net.minecraftforge.event.entity.player |
Modifier and Type | Class and Description |
---|---|
static class |
PlayerInteractEvent.EntityInteract
This event is fired on both sides when the player right clicks an entity.
|
static class |
PlayerInteractEvent.EntityInteractSpecific
This event is fired on both sides whenever a player right clicks an entity.
|
static class |
PlayerInteractEvent.LeftClickBlock
This event is fired when a player left clicks while targeting a block.
|
static class |
PlayerInteractEvent.LeftClickEmpty
This event is fired on the client side when the player left clicks empty space with any ItemStack.
|
static class |
PlayerInteractEvent.RightClickBlock
This event is fired on both sides whenever the player right clicks while targeting a block.
|
static class |
PlayerInteractEvent.RightClickEmpty
This event is fired on the client side when the player right clicks empty space with an empty hand.
|
static class |
PlayerInteractEvent.RightClickItem
This event is fired on both sides before the player triggers
Item.onItemRightClick(net.minecraft.world.World, net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand) . |