refactor(cubed): migrate block definitions to JSON

Move block data from TOML to JSON under assets/cubed/blocks, add registry.json for block and item IDs, and relocate textures and sounds to the cubed namespace.
This commit is contained in:
2026-08-08 15:35:40 +08:00
parent bc4bbe1ff2
commit 782c7c6092
126 changed files with 242 additions and 121 deletions

View File

@@ -0,0 +1,23 @@
{
"name": "log",
"properties": {
"is_liquid": false,
"is_cross_plane": false,
"is_transparent": false,
"is_passable": false,
"is_discard": false,
"is_blend": false,
"is_transitional": false,
"is_gas": false,
"roughness": 0.7
},
"texture": {
"type": "cuboid",
"path": "cubed:textures/blocks/log"
},
"sounds": {
"break": "cubed:sounds/blocks/log/break.ogg",
"place": "cubed:sounds/blocks/log/place.ogg",
"walk": "cubed:sounds/blocks/log/walk.ogg"
}
}