Add furniture with JSON
Result: a Decorative Chair with decoration value 2 and radius 2. It reuses the Chair's four facings, crafting setup, footprint, and seating tags. No Java is required.
1. Copy the starter
Copy content_starter to the mods folder.
To keep only this example, set mod.json's patches to ["data/furniture.json"].
You may then set requiresNewWorld to false.
2. Edit the placeable
Open data/furniture.json:
[
{
"registry": "placeables",
"op": "add",
"id": "content_starter:decorative_chair",
"copyFrom": "chair",
"values": {
"decorationValue": 2,
"decorationRadius": 2
}
}
]
The copied craftedResource lets the game generate the furniture item and its ordinary crafting
route. Do not add a second resource or recipe for this generated item.
Its inventory ID is crafted_placeable_content_starter:decorative_chair.
Some other placeables are built directly; copy a base object that matches the route you want.
3. Change cost, shape, or storage
| Change | Fields |
|---|---|
| Materials | buildCost; replaces the entire ingredient array |
| Floor footprint | footprintWidth, footprintDepth, per-facing occupancy metadata |
| Decoration | decorationValue, decorationRadius |
| Storage | storage; copy a suitable storage object first |
| Art | spriteAtlasPath, facingSprites, optional craftedResource inventory icon |
| Displayed size | renderScale; does not change occupancy |
Read placeable fields before changing geometry or capabilities. Copying a special workstation does not automatically give a new ID every built-in behavior.
4. Keep the facing mapping correct
When reusing base art, keep its explicit south, north, west, east mappings.
The copied Chair uses a legacy sheet whose west/east cells differ from the current authoring order.
For new art, author the four cells left-to-right as south, north, west, east.
Map those exact cells in facingSprites. Footprint rotation and sprite direction are separate.
Use the artwork guide for crop sizes, anchors, and tile-space offsets.
5. Name and check it
- Edit
placeables.content_starter:decorative_chairin every translation catalog. - Choose Refresh → Enable → Apply & reload in Mods.
- In a test world, discover the normal chair materials and craft the new furniture.
- Place it and inspect its name and decoration.
- Rotate through all four facings. Check its occupied tiles and access beside walls or a table.