Files
bworld/mods/bworld/blocks/cherry_fence.json
T
2026-10-07 20:56:24 -03:00

101 lines
1.6 KiB
JSON

{
"format_version": 1,
"block": {
"id": "bworld:cherry_fence",
"name": "Cherry Fence",
"textures": {
"side": "bworld:cherry_fence_side",
"top": "bworld:cherry_fence_top"
},
"item_model": "bworld:fence_inventory",
"render_layer": "cutout",
"waterloggable": "bworld:water",
"states": [
{
"name": "north",
"bits": 1,
"default": 0
},
{
"name": "east",
"bits": 1,
"default": 0
},
{
"name": "south",
"bits": 1,
"default": 0
},
{
"name": "west",
"bits": 1,
"default": 0
}
],
"parts": [
{
"model": "bworld:fence_post",
"shape": [
[6, 0, 6, 10, 16, 10]
],
"collision_shape": [
[6, 0, 6, 10, 24, 10]
]
},
{
"when": "north=1",
"model": "bworld:fence_side",
"shape": [
[7, 0, 0, 9, 16, 9]
],
"collision_shape": [
[7, 0, 0, 9, 24, 9]
]
},
{
"when": "east=1",
"model": "bworld:fence_side",
"y": 90,
"shape": [
[7, 0, 0, 9, 16, 9]
],
"collision_shape": [
[7, 0, 0, 9, 24, 9]
]
},
{
"when": "south=1",
"model": "bworld:fence_side",
"y": 180,
"shape": [
[7, 0, 0, 9, 16, 9]
],
"collision_shape": [
[7, 0, 0, 9, 24, 9]
]
},
{
"when": "west=1",
"model": "bworld:fence_side",
"y": 270,
"shape": [
[7, 0, 0, 9, 16, 9]
],
"collision_shape": [
[7, 0, 0, 9, 24, 9]
]
}
],
"mining": {
"toughness": 3,
"tool": "axe"
},
"drops": "bworld:cherry_fence",
"components": {
"bworld:fence": {
"connects_to": "#bworld:wooden_fences"
}
}
}
}