ItemConsumables

public final class ItemConsumables

EM acquisition roles are resolved through the existing authored item identity.

Types

Link copied to clipboard
public final class Definition extends Record
Link copied to clipboard
public enum Type

Functions

Link copied to clipboard
public static boolean is(ItemStack item, ItemConsumables.Type type)
Link copied to clipboard
public static ItemConsumables.Definition resolve(ItemStack item)
Link copied to clipboard
public static int retiredScrapTier(String filename)
Tier 1-5 when a filename names scrap EliteMobs used to ship, or 0.
Link copied to clipboard
public static int scrapCoinValue(ItemStack item)
Coins one held scrap item is worth, or 0 when the item is not scrap.
Link copied to clipboard
public static int scrapTier(ItemStack item)
Tier 1-5 of held elite scrap, or 0.
Link copied to clipboard
public static ItemStack unbind(ItemStack source)