Interface InteractionEvent.ClientRightClickAir
- Enclosing interface:
- InteractionEvent
public static interface InteractionEvent.ClientRightClickAir
-
Method Summary
Modifier and TypeMethodDescriptionvoid
click
(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) Invoked whenever a player right clicks the air.
-
Method Details
-
click
void click(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) Invoked whenever a player right clicks the air. This only occurs on the client. Equivalent to Forge'sPlayerInteractEvent.RightClickEmpty
event.- Parameters:
player
- The player. AlwaysLocalPlayer
hand
- The hand used.
-