Interface UseRemainder


@NonExtendable public interface UseRemainder
Holds the contents of item transformation information when an item is used.
Since:
1.21.3
See Also:
  • Method Details

    • useRemainder

      @Contract(value="_ -> new", pure=true) static UseRemainder useRemainder(ItemStack itemStack)
      Since:
      1.21.3
    • transformInto

      @Contract(value="-> new", pure=true) ItemStack transformInto()
      The item that the item that is consumed is transformed into.
      Returns:
      item
      Since:
      1.21.3