Fences
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"block": {
|
||||
"id": "bworld:oak_fence",
|
||||
"name": "Oak Fence",
|
||||
"textures": {
|
||||
"side": "bworld:oak_fence_side",
|
||||
"top": "bworld:oak_fence_top"
|
||||
},
|
||||
"item_model": "bworld:fence_inventory",
|
||||
"render_layer": "cutout",
|
||||
"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:oak_fence",
|
||||
"components": {
|
||||
"bworld:fence": {
|
||||
"connects_to": "#bworld:wooden_fences"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user