Quadrum Wiki › Guides › Quadrum Traits and Data Types
Quadrum Traits and Data Types
Quadrum uses specific data structures to ensure consistency across JSON files. Understanding these types is essential for advanced configuration.
Data Types
ItemStack
Used for drops and return items. It consists of:
* item: The registry name (e.g., minecraft:iron_ingot).
* damage: The metadata or durability value (default 0).
* count: The number of items in the stack (default 1).
Vector
Used for bounding boxes and particle offsets. It consists of three numbers: x, y, and z.
Common Traits
- Lore: Adds descriptive text to the item or block tooltip. Supports multiple lines.
- Ore Dictionary: Essential for mod compatibility. Registering a block as
oreCopperallows it to be used in any recipe requiring copper ore from other mods.