Files
bworld/mods/create/models/block/encased_fan/block.json
T

75 lines
2.3 KiB
JSON

{
"format_version": 1,
"model": {
"id": "create:block_encased_fan_block",
"textures": {
"back": "create:block_gearbox",
"fan_casing": "create:block_fan_casing",
"particle": "create:block_fan_side",
"fan_side": "create:block_fan_side"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 2],
"faces": {
"north": { "texture": "#fan_side", "uv": [0, 0, 16, 16] },
"east": { "texture": "#fan_side", "uv": [14, 0, 16, 16] },
"south": { "texture": "#fan_side", "uv": [0, 0, 16, 16] },
"west": { "texture": "#fan_side", "uv": [14, 0, 16, 16], "rotation": 180 },
"top": { "texture": "#fan_casing", "uv": [0, 14, 16, 16], "rotation": 180 },
"bottom": { "texture": "#fan_casing", "uv": [0, 14, 16, 16] }
}
},
{
"from": [0, 0, 14],
"to": [16, 16, 16],
"faces": {
"north": { "texture": "#fan_side", "uv": [0, 0, 16, 16] },
"east": { "texture": "#fan_side", "uv": [0, 0, 2, 16] },
"south": { "texture": "#fan_side", "uv": [0, 0, 16, 16] },
"west": { "texture": "#fan_side", "uv": [14, 0, 16, 16] },
"top": { "texture": "#fan_casing", "uv": [0, 0, 16, 2], "rotation": 180 },
"bottom": { "texture": "#fan_casing", "uv": [0, 0, 16, 2] }
}
},
{
"from": [0, 0, 2],
"to": [2, 16, 14],
"faces": {
"east": { "texture": "#fan_side", "uv": [2, 0, 14, 16] },
"west": { "texture": "#fan_side", "uv": [14, 0, 2, 16] },
"top": { "texture": "#fan_casing", "uv": [14, 2, 16, 14], "rotation": 180 },
"bottom": { "texture": "#fan_casing", "uv": [0, 2, 2, 14] }
}
},
{
"from": [14, 0, 2],
"to": [16, 16, 14],
"faces": {
"east": { "texture": "#fan_side", "uv": [2, 0, 14, 16] },
"west": { "texture": "#fan_side", "uv": [14, 0, 2, 16] },
"top": { "texture": "#fan_casing", "uv": [0, 2, 2, 14], "rotation": 180 },
"bottom": { "texture": "#fan_casing", "uv": [14, 2, 16, 14] }
}
},
{
"from": [2, 15, 2],
"to": [14, 15, 14],
"faces": {
"top": { "texture": "#fan_casing", "uv": [2, 2, 14, 14], "rotation": 180 },
"bottom": { "texture": "#fan_casing", "uv": [2, 2, 14, 14] }
}
},
{
"from": [2, 1, 2],
"to": [14, 7, 14],
"faces": {
"top": { "texture": "#back", "uv": [2, 2, 14, 14], "rotation": 180 },
"bottom": { "texture": "#back", "uv": [2, 2, 14, 14] }
}
}
]
}
}