Files
Cubed/assets/cubed/blocks/leaf.json
zhenyan121 782c7c6092 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.
2026-08-08 15:35:40 +08:00

24 lines
592 B
JSON

{
"name": "leaf",
"properties": {
"is_liquid": false,
"is_cross_plane": false,
"is_transparent": true,
"is_passable": false,
"is_discard": true,
"is_blend": false,
"is_transitional": false,
"is_gas": false,
"roughness": 0.7
},
"texture": {
"type": "cuboid",
"path": "cubed:textures/blocks/leaf"
},
"sounds": {
"break": "cubed:sounds/blocks/leaf/break.ogg",
"place": "cubed:sounds/blocks/leaf/place.ogg",
"walk": "cubed:sounds/blocks/leaf/walk.ogg"
}
}