Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EliteMobs
/
com.magmaguy.elitemobs.items
/
ItemConsumables
Item
Consumables
public
final
class
ItemConsumables
EM acquisition roles are resolved through the existing authored item identity.
Members
Types
Definition
Link copied to clipboard
public
final
class
Definition
extends
Record
Type
Link copied to clipboard
public
enum
Type
Functions
is
Link copied to clipboard
public
static
boolean
is
(
ItemStack
item
,
ItemConsumables.Type
type
)
resolve
Link copied to clipboard
public
static
ItemConsumables.Definition
resolve
(
ItemStack
item
)
retired
Scrap
Tier
Link copied to clipboard
public
static
int
retiredScrapTier
(
String
filename
)
Tier 1-5 when a filename names scrap EliteMobs used to ship, or 0.
scrap
Coin
Value
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.
scrap
Tier
Link copied to clipboard
public
static
int
scrapTier
(
ItemStack
item
)
Tier 1-5 of held elite scrap, or 0.
unbind
Link copied to clipboard
public
static
ItemStack
unbind
(
ItemStack
source
)