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,11 +1,19 @@
{ {
"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"
}, },
"children": {
"base": {
"render_type": "minecraft:solid",
"textures": {
"0": "create:block/display_link",
"3": "create:block/display_link_side"
},
"elements": [ "elements": [
{ {
"from": [9, 6, 3.5], "from": [9, 6, 3.5],
@ -65,20 +73,15 @@
"west": {"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"} "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"}
} }
]
}, },
"bulb_inner": {
"render_type": "minecraft:cutout",
"textures": {
"0": "create:block/display_link"
},
"elements": [
{ {
"from": [2.5, 8, 9], "from": [2.5, 8, 9],
"to": [7.5, 13, 10], "to": [7.5, 13, 10],
@ -95,16 +98,28 @@
"north": {"uv": [16, 13.5, 13.5, 16], "texture": "#0"} "north": {"uv": [16, 13.5, 13.5, 16], "texture": "#0"}
} }
} }
], ]
"groups": [ },
0, "bulb": {
1, "render_type": "minecraft:translucent",
2, "textures": {
"0": "create:block/display_link"
},
"elements": [
{ {
"name": "group", "from": [2.5, 8, 7.5],
"origin": [16, 0, 0], "to": [7.5, 13, 12.5],
"color": 0, "rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"children": [3, 4, 5, 6, 7] "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"}
}
} }
] ]
} }
}
}

View File

@ -1,13 +1,20 @@
{ {
"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"
}, },
"children": {
"connectors": {
"render_type": "minecraft:solid",
"textures": {
"0": "create:block/nixie_tube"
},
"elements": [ "elements": [
{ {
"name": "connector4", "name": "connector1",
"from": [5, 0, 9], "from": [5, 0, 9],
"to": [11, 3, 15], "to": [11, 3, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
@ -21,7 +28,7 @@
} }
}, },
{ {
"name": "connector5", "name": "connector2",
"from": [5, 0, 1], "from": [5, 0, 1],
"to": [11, 3, 7], "to": [11, 3, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
@ -33,9 +40,17 @@
"up": {"uv": [6, 6, 12, 12], "rotation": 270, "texture": "#0"}, "up": {"uv": [6, 6, 12, 12], "rotation": 270, "texture": "#0"},
"down": {"uv": [6, 6, 12, 12], "rotation": 90, "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": "tube5", "name": "tube1",
"from": [5, 3, 9], "from": [5, 3, 9],
"to": [11, 12, 15], "to": [11, 12, 15],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]}, "rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
@ -48,7 +63,7 @@
} }
}, },
{ {
"name": "tube6", "name": "tube2",
"from": [5, 3, 1], "from": [5, 3, 1],
"to": [11, 12, 7], "to": [11, 12, 7],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]}, "rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
@ -60,26 +75,7 @@
"up": {"uv": [6, 0, 12, 6], "rotation": 180, "texture": "#0"} "up": {"uv": [6, 0, 12, 6], "rotation": 180, "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]
}
] ]
} }
] }
} }

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]
}
]
}
]
} }