Interface InteractionEvent.ClientLeftClickAir

Enclosing interface:
InteractionEvent

public static interface InteractionEvent.ClientLeftClickAir
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    click(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's PlayerInteractEvent.LeftClickEmpty event.
      Parameters:
      player - The player. Always LocalPlayer
      hand - The hand used.