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