Class PlayerInteractEvent.LeftClickEmpty

  • Enclosing class:
    PlayerInteractEvent

    public static class PlayerInteractEvent.LeftClickEmpty
    extends PlayerInteractEvent
    This event is fired on the client side when the player left clicks empty space with any ItemStack. The server is not aware of when the client left clicks empty space, you will need to tell the server yourself. This event cannot be canceled.
    • Constructor Detail

      • LeftClickEmpty

        public LeftClickEmpty​(PlayerEntity player)