Inventory & items¶
How to play¶
- Hotbar — 10 slots, number keys select the active slot.
- Inventory UI — drag-and-drop between slots.
- Collecting — walking over a dropped item picks it up (
WorldItemManager, proximity based). /give <name> [N](admin) — give an item, or grant an armor/weapon/tool./drink <itemType>— consume a consumable (restores health/mana).
Configuration¶
Items are defined in data/config/items.yaml (bundled default in
resources/config/items.yaml):
COBBLESTONE:
buildable: true
placesBlock: STONE
label: COB
bg: "#7A7A7A"
SNOWBALL:
buildable: false
healthRestore: 0
manaRestore: 0
buildable+placesBlock— makes the item placeable.healthRestore/manaRestore— non-zero marks the item consumable via/drink.label/bg— hotbar rendering.spawnsEntity— placing the item spawns a free-standing entity (vehicle, siege weapon, furniture) instead of a block.
Schema: items.schema.json. Reload with /reload.
Items¶
Defined in data/config/items.yaml (bundled defaults in resources/config/items.yaml).
| Item | buildable | placesBlock | label | bg | healthRestore | manaRestore | spawnsEntity |
|---|---|---|---|---|---|---|---|
COBBLESTONE |
true | STONE | COB | #7A7A7A | — | — | — |
DIRT |
true | DIRT | DRT | #8B5A2B | — | — | — |
SAND |
true | SAND | SND | #D5C89A | — | — | — |
GRAVEL |
true | GRAVEL | GRV | #9A9A9A | — | — | — |
SANDSTONE |
true | SANDSTONE | SST | #C8B46C | — | — | — |
SNOWBALL |
false | — | SNW | #DCE8F5 | — | — | — |
FLINT |
false | — | FLT | #4A4A52 | — | — | — |
SEED |
true | SEED | SED | #C8A050 | — | — | — |
GRASS |
true | GRASS | GRS | #4A7A28 | — | — | — |
SNOW_BLOCK |
true | SNOW | SNB | #F0F0F0 | — | — | — |
OAK_LOG |
true | OAK_LOG | OLG | #654321 | — | — | — |
OAK_LEAVES |
true | OAK_LEAVES | OLV | #3C641E | — | — | — |
PINE_LOG |
true | PINE_LOG | PLG | #503219 | — | — | — |
PINE_LEAVES |
true | PINE_LEAVES | PLV | #285A3C | — | — | — |
PINE_LEAVES_SNOW |
true | PINE_LEAVES_SNOW | PLS | #C8D7DC | — | — | — |
FLOWER |
true | FLOWER | FLW | #E6C832 | — | — | — |
WEED |
true | WEED | WED | #468228 | — | — | — |
LEGO_BRICK |
true | LEGO_BRICK | LGO | #DC3232 | — | — | — |
LEGO_SLOPE |
true | LEGO_SLOPE | LSL | #B43232 | — | — | — |
LEGO_CORNER |
true | LEGO_CORNER | LCR | #DC5050 | — | — | — |
LEGO_PLATE |
true | LEGO_PLATE | LPL | #C86432 | — | — | — |
LEGO_BRICK_2X1 |
true | LEGO_BRICK_2X1 | L2X | #3264DC | — | — | — |
LEGO_BRICK_1X2 |
true | LEGO_BRICK_1X2 | L1X | #32DC64 | — | — | — |
LEGO_STEP |
true | LEGO_STEP | STP | #B48034 | — | — | — |
LEGO_PLATE_2X2 |
true | LEGO_PLATE_2X2 | P22 | #B450B4 | — | — | — |
LEGO_PLATE_2X4 |
true | LEGO_PLATE_2X4 | P24 | #50B450 | — | — | — |
LEGO_ARCH_4X1 |
true | LEGO_ARCH_4X1 | A4X | #DC9632 | — | — | — |
LEGO_ARCH_8X2 |
true | LEGO_ARCH_8X2 | A84X | #DC9632 | — | — | — |
LEGO_PIECE |
true | LEGO_PIECE | LPC | #B4B450 | — | — | — |
HEALTH_POTION |
false | — | HP | #DC1414 | 10 | — | — |
MANA_POTION |
false | — | MP | #1464DC | — | 10 | — |
HEALTH_POTION_MEDIUM |
false | — | HM | #B40000 | 20 | — | — |
MANA_POTION_MEDIUM |
false | — | MM | #0032B4 | — | 20 | — |
RAIL_STRAIGHT |
true | RAIL_STRAIGHT | RST | #6E6E78 | — | — | — |
RAIL_CURVE_90 |
true | RAIL_CURVE_90 | RC9 | #6E6E78 | — | — | — |
RAIL_CURVE_60 |
true | RAIL_CURVE_60 | RC6 | #6E6E78 | — | — | — |
RAIL_SLOPE_45 |
true | RAIL_SLOPE_45 | RS4 | #6E6E78 | — | — | — |
RAIL_SLOPE_22 |
true | RAIL_SLOPE_22 | RS2 | #6E6E78 | — | — | — |
RAIL_Y_SPLIT_90 |
true | RAIL_Y_SPLIT_90 | RYS | #6E6E78 | — | — | — |
VEHICLE_CART |
false | — | CRT | #8B5A2B | — | — | CART |
SIEGE_CATAPULT |
true | — | CAT | #6E5230 | — | — | CATAPULT |
SIEGE_TREBUCHET |
true | — | TRB | #5A4A2A | — | — | TREBUCHET |
SIEGE_CANON |
true | — | CNN | #5A4A2A | — | — | CANON |
FURNITURE_TABLE |
true | — | TBL | #8B5A2B | — | — | TABLE |
FURNITURE_CHAIR |
true | — | CHR | #8B5A2B | — | — | CHAIR |
PANEL_WOOD |
true | — | PNL | #6B4A2B | — | — | PANEL_WOOD |
BOULDER |
false | — | BLD | #767668 | — | — | — |
FLAMING_BOULDER |
false | — | FBL | #C24A1E | — | — | — |