Interface UseRemainder


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

    • useRemainder

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

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