Inventory
Item, ItemStack, and Inventory types
Item
An item definition from the registry.
Prop
Type
ItemStack
A stack of items with quantity and durability.
Prop
Type
Creating ItemStacks
const stack = new ItemStack("item_id", 64);
const singleItem = new ItemStack("item_id");Inventory
A player's inventory containing multiple containers.
Prop
Type
ItemContainer
A container for item stacks (hotbar, storage, etc).
Prop
Type
CraftingRecipe
Prop
Type
Static Classes
ItemClass
Access item registry via Item.getAssetStore().
Prop
Type
Asset Types
AssetStore
Prop
Type
DefaultAssetMap
Prop
Type
IndexedAssetMap
Used for sound events and other indexed assets.
Prop
Type
Java Interop
JavaMap
Prop
Type
JavaSet
Prop
Type
JavaIterator
Prop
Type