Class PlayerClickContainerEvent

java.lang.Object
eu.sculkpowered.server.event.ResultedEvent<ResultedEvent.GenericResult>
eu.sculkpowered.server.event.player.PlayerClickContainerEvent

public final class PlayerClickContainerEvent extends ResultedEvent<ResultedEvent.GenericResult>
Represents an event that fires when the client clicks at an item in a container.
  • Constructor Details

    • PlayerClickContainerEvent

      public PlayerClickContainerEvent(@NotNull @NotNull Player player, @NotNull @NotNull Container container, @NotNull @NotNull ItemStack carriedItem, short slot)
  • Method Details

    • player

      @NotNull public @NotNull Player player()
    • container

      @NotNull public @NotNull Container container()
    • carriedItem

      @NotNull public @NotNull ItemStack carriedItem()
    • slot

      public short slot()