Certified forge user

- Use builtin composite loader to fix blending issues with nixie tube and display link models
This commit is contained in:
simibubi 2023-01-24 17:26:39 +01:00
parent 839cf91255
commit 582ead2b92
3 changed files with 181 additions and 252 deletions

View File

@ -1,110 +1,125 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"loader": "forge:composite",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/display_link", "0": "create:block/display_link",
"3": "create:block/display_link_side", "3": "create:block/display_link_side",
"particle": "create:block/brass_casing" "particle": "create:block/brass_casing"
}, },
"elements": [ "children": {
{ "base": {
"from": [9, 6, 3.5], "render_type": "minecraft:solid",
"to": [13, 9, 12.5], "textures": {
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]}, "0": "create:block/display_link",
"faces": { "3": "create:block/display_link_side"
"north": {"uv": [14.5, 0, 12.5, 1.5], "texture": "#0"}, },
"east": {"uv": [14.5, 6, 16, 1.5], "rotation": 90, "texture": "#0"}, "elements": [
"south": {"uv": [12.5, 0, 14.5, 1.5], "texture": "#0"}, {
"west": {"uv": [14.5, 6, 16, 1.5], "rotation": 90, "texture": "#0"}, "from": [9, 6, 3.5],
"up": {"uv": [14.5, 1.5, 12.5, 6], "rotation": 180, "texture": "#0"} "to": [13, 9, 12.5],
} "rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [14.5, 0, 12.5, 1.5], "texture": "#0"},
"east": {"uv": [14.5, 6, 16, 1.5], "rotation": 90, "texture": "#0"},
"south": {"uv": [12.5, 0, 14.5, 1.5], "texture": "#0"},
"west": {"uv": [14.5, 6, 16, 1.5], "rotation": 90, "texture": "#0"},
"up": {"uv": [14.5, 1.5, 12.5, 6], "rotation": 180, "texture": "#0"}
}
},
{
"from": [1, 1, 1],
"to": [15, 6, 15],
"faces": {
"north": {"uv": [0, 0, 14, 5], "texture": "#3"},
"east": {"uv": [7.5, 9, 10, 16], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 0, 14, 5], "texture": "#3"},
"west": {"uv": [7.5, 9, 10, 16], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 9, 7, 16], "texture": "#0"},
"down": {"uv": [0, 1.5, 7, 8.5], "texture": "#0"}
}
},
{
"from": [2, -1, 2],
"to": [14, 1, 14],
"faces": {
"north": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"},
"east": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"},
"south": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"},
"west": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"},
"down": {"uv": [0.5, 2, 6.5, 8], "texture": "#0"}
}
},
{
"from": [3, 5, 3],
"to": [7, 7, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"},
"east": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"},
"south": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"},
"west": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"},
"up": {"uv": [13.5, 8, 11.5, 10], "texture": "#0"}
}
},
{
"from": [3, 6, 8],
"to": [7, 8, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"east": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"south": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"west": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"up": {"uv": [13.5, 6, 11.5, 8], "texture": "#0"}
}
}
]
}, },
{ "bulb_inner": {
"from": [1, 1, 1], "render_type": "minecraft:cutout",
"to": [15, 6, 15], "textures": {
"faces": { "0": "create:block/display_link"
"north": {"uv": [0, 0, 14, 5], "texture": "#3"}, },
"east": {"uv": [7.5, 9, 10, 16], "rotation": 90, "texture": "#0"}, "elements": [
"south": {"uv": [0, 0, 14, 5], "texture": "#3"}, {
"west": {"uv": [7.5, 9, 10, 16], "rotation": 90, "texture": "#0"}, "from": [2.5, 8, 9],
"up": {"uv": [0, 9, 7, 16], "texture": "#0"}, "to": [7.5, 13, 10],
"down": {"uv": [0, 1.5, 7, 8.5], "texture": "#0"} "rotation": {"angle": 0, "axis": "y", "origin": [6, 7.5, 19]},
} "faces": {
"south": {"uv": [16, 13.5, 13.5, 16], "texture": "#0"}
}
},
{
"from": [2.5, 8, 10],
"to": [7.5, 13, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [16, 13.5, 13.5, 16], "texture": "#0"}
}
}
]
}, },
{ "bulb": {
"from": [2, -1, 2], "render_type": "minecraft:translucent",
"to": [14, 1, 14], "textures": {
"faces": { "0": "create:block/display_link"
"north": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"}, },
"east": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"}, "elements": [
"south": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"}, {
"west": {"uv": [0.5, 0, 6.5, 1], "texture": "#0"}, "from": [2.5, 8, 7.5],
"down": {"uv": [0.5, 2, 6.5, 8], "texture": "#0"} "to": [7.5, 13, 12.5],
} "rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
}, "faces": {
{ "north": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"from": [3, 5, 3], "east": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"to": [7, 7, 7], "south": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]}, "west": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"faces": { "up": {"uv": [16, 6, 13.5, 8.5], "texture": "#0"},
"north": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"}, "down": {"uv": [16, 11, 13.5, 13.5], "texture": "#0"}
"east": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"}, }
"south": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"}, }
"west": {"uv": [13.5, 10, 11.5, 11], "texture": "#0"}, ]
"up": {"uv": [13.5, 8, 11.5, 10], "texture": "#0"}
}
},
{
"from": [3, 6, 8],
"to": [7, 8, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"east": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"south": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"west": {"uv": [13.5, 8, 11.5, 9], "texture": "#0"},
"up": {"uv": [13.5, 6, 11.5, 8], "texture": "#0"}
}
},
{
"from": [2.5, 8, 7.5],
"to": [7.5, 13, 12.5],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"east": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"south": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"west": {"uv": [16, 8.5, 13.5, 11], "texture": "#0"},
"up": {"uv": [16, 6, 13.5, 8.5], "texture": "#0"},
"down": {"uv": [16, 11, 13.5, 13.5], "texture": "#0"}
}
},
{
"from": [2.5, 8, 9],
"to": [7.5, 13, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [6, 7.5, 19]},
"faces": {
"south": {"uv": [16, 13.5, 13.5, 16], "texture": "#0"}
}
},
{
"from": [2.5, 8, 10],
"to": [7.5, 13, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [16, 13.5, 13.5, 16], "texture": "#0"}
}
} }
], }
"groups": [
0,
1,
2,
{
"name": "group",
"origin": [16, 0, 0],
"color": 0,
"children": [3, 4, 5, 6, 7]
}
]
} }

View File

@ -1,85 +1,81 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"loader": "forge:composite",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/nixie_tube", "0": "create:block/nixie_tube",
"particle": "create:block/nixie_tube" "particle": "create:block/nixie_tube"
}, },
"elements": [ "children": {
{ "connectors": {
"name": "connector4", "render_type": "minecraft:solid",
"from": [5, 0, 9], "textures": {
"to": [11, 3, 15], "0": "create:block/nixie_tube"
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, },
"faces": { "elements": [
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [0, 10, 6, 13], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [0, 10, 6, 13], "texture": "#0"},
"up": {"uv": [6, 6, 12, 12], "rotation": 270, "texture": "#0"},
"down": {"uv": [6, 6, 12, 12], "rotation": 90, "texture": "#0"}
}
},
{
"name": "connector5",
"from": [5, 0, 1],
"to": [11, 3, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [0, 10, 6, 13], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [0, 10, 6, 13], "texture": "#0"},
"up": {"uv": [6, 6, 12, 12], "rotation": 270, "texture": "#0"},
"down": {"uv": [6, 6, 12, 12], "rotation": 90, "texture": "#0"}
}
},
{
"name": "tube5",
"from": [5, 3, 9],
"to": [11, 12, 15],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 1, 6, 10], "texture": "#0"},
"east": {"uv": [0, 1, 6, 10], "texture": "#0"},
"south": {"uv": [0, 1, 6, 10], "texture": "#0"},
"west": {"uv": [0, 1, 6, 10], "texture": "#0"},
"up": {"uv": [6, 0, 12, 6], "rotation": 180, "texture": "#0"}
}
},
{
"name": "tube6",
"from": [5, 3, 1],
"to": [11, 12, 7],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 1, 6, 10], "texture": "#0"},
"east": {"uv": [0, 1, 6, 10], "texture": "#0"},
"south": {"uv": [0, 1, 6, 10], "texture": "#0"},
"west": {"uv": [0, 1, 6, 10], "texture": "#0"},
"up": {"uv": [6, 0, 12, 6], "rotation": 180, "texture": "#0"}
}
}
],
"groups": [
{
"name": "block",
"origin": [8, 8, 8],
"color": 0,
"children": [
{ {
"name": "group", "name": "connector1",
"origin": [17, 14, 13], "from": [5, 0, 9],
"color": 0, "to": [11, 3, 15],
"children": [] "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [0, 10, 6, 13], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [0, 10, 6, 13], "texture": "#0"},
"up": {"uv": [6, 6, 12, 12], "rotation": 270, "texture": "#0"},
"down": {"uv": [6, 6, 12, 12], "rotation": 90, "texture": "#0"}
}
}, },
{ {
"name": "group", "name": "connector2",
"origin": [17, 14, 13], "from": [5, 0, 1],
"color": 0, "to": [11, 3, 7],
"children": [0, 1, 2, 3] "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [0, 10, 6, 13], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [0, 10, 6, 13], "texture": "#0"},
"up": {"uv": [6, 6, 12, 12], "rotation": 270, "texture": "#0"},
"down": {"uv": [6, 6, 12, 12], "rotation": 90, "texture": "#0"}
}
}
]
},
"tubes": {
"render_type": "minecraft:translucent",
"textures": {
"0": "create:block/nixie_tube"
},
"elements": [
{
"name": "tube1",
"from": [5, 3, 9],
"to": [11, 12, 15],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 1, 6, 10], "texture": "#0"},
"east": {"uv": [0, 1, 6, 10], "texture": "#0"},
"south": {"uv": [0, 1, 6, 10], "texture": "#0"},
"west": {"uv": [0, 1, 6, 10], "texture": "#0"},
"up": {"uv": [6, 0, 12, 6], "rotation": 180, "texture": "#0"}
}
},
{
"name": "tube2",
"from": [5, 3, 1],
"to": [11, 12, 7],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 1, 6, 10], "texture": "#0"},
"east": {"uv": [0, 1, 6, 10], "texture": "#0"},
"south": {"uv": [0, 1, 6, 10], "texture": "#0"},
"west": {"uv": [0, 1, 6, 10], "texture": "#0"},
"up": {"uv": [6, 0, 12, 6], "rotation": 180, "texture": "#0"}
}
} }
] ]
} }
] }
} }

View File

@ -1,85 +1,3 @@
{ {
"credit": "Made with Blockbench", "parent": "create:block/nixie_tube/block"
"parent": "block/block",
"textures": {
"0": "create:block/nixie_tube",
"particle": "create:block/nixie_tube"
},
"elements": [
{
"name": "connector4",
"from": [9, 0, 5],
"to": [15, 3, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [0, 10, 6, 13], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [0, 10, 6, 13], "texture": "#0"},
"up": {"uv": [6, 6, 12, 12], "rotation": 180, "texture": "#0"},
"down": {"uv": [6, 6, 12, 12], "rotation": 180, "texture": "#0"}
}
},
{
"name": "connector5",
"from": [1, 0, 5],
"to": [7, 3, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [0, 10, 6, 13], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [0, 10, 6, 13], "texture": "#0"},
"up": {"uv": [6, 6, 12, 12], "rotation": 180, "texture": "#0"},
"down": {"uv": [6, 6, 12, 12], "rotation": 180, "texture": "#0"}
}
},
{
"name": "tube5",
"from": [9, 3, 5],
"to": [15, 12, 11],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 1, 6, 10], "texture": "#0"},
"east": {"uv": [0, 1, 6, 10], "texture": "#0"},
"south": {"uv": [0, 1, 6, 10], "texture": "#0"},
"west": {"uv": [0, 1, 6, 10], "texture": "#0"},
"up": {"uv": [6, 0, 12, 6], "rotation": 90, "texture": "#0"}
}
},
{
"name": "tube6",
"from": [1, 3, 5],
"to": [7, 12, 11],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 1, 6, 10], "texture": "#0"},
"east": {"uv": [0, 1, 6, 10], "texture": "#0"},
"south": {"uv": [0, 1, 6, 10], "texture": "#0"},
"west": {"uv": [0, 1, 6, 10], "texture": "#0"},
"up": {"uv": [6, 0, 12, 6], "rotation": 90, "texture": "#0"}
}
}
],
"groups": [
{
"name": "block",
"origin": [8, 8, 8],
"color": 0,
"children": [
{
"name": "group",
"origin": [17, 14, 13],
"color": 0,
"children": []
},
{
"name": "group",
"origin": [17, 14, 13],
"color": 0,
"children": [0, 1, 2, 3]
}
]
}
]
} }