Class PlayerEvent.ItemSmithedEvent

Enclosing class:
PlayerEvent

public static class PlayerEvent.ItemSmithedEvent extends PlayerEvent

Fired when a player takes the result item stack from a smithing table. This is fired before the inputs are decremented.

This event is not cancellable.

This event is fired on the game event bus, on both logical sides.

  • Field Details

  • Constructor Details

  • Method Details

    • getInputs

      public Container getInputs()
      Returns the container with the input item stacks. The contents of this container will be decremented by one afterwards, so avoid modifying this container.
      Returns:
      the container with the input item stacks
    • getResult

      public ItemStack getResult()
      Returns the result item stack.
      Returns:
      the result item stack