public interface ItemDefinition
extends org.cloudburstmc.protocol.common.NamedDefinition
| Modifier and Type | Field and Description |
|---|---|
static ItemDefinition |
AIR |
static ItemDefinition |
LEGACY_FIREWORK |
| Modifier and Type | Method and Description |
|---|---|
default org.cloudburstmc.nbt.NbtMap |
getComponentData()
Get the component data NBT for this item.
|
default ItemVersion |
getVersion() |
boolean |
isComponentBased()
Whether this item is data driven.
|
static final ItemDefinition AIR
static final ItemDefinition LEGACY_FIREWORK
boolean isComponentBased()
default org.cloudburstmc.nbt.NbtMap getComponentData()
default ItemVersion getVersion()