mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 22:44:07 +01:00
Certified forge user
- Use builtin composite loader to fix blending issues with nixie tube and display link models
This commit is contained in:
parent
839cf91255
commit
582ead2b92
@ -1,11 +1,19 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"loader": "forge:composite",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"0": "create:block/display_link",
|
||||
"3": "create:block/display_link_side",
|
||||
"particle": "create:block/brass_casing"
|
||||
},
|
||||
"children": {
|
||||
"base": {
|
||||
"render_type": "minecraft:solid",
|
||||
"textures": {
|
||||
"0": "create:block/display_link",
|
||||
"3": "create:block/display_link_side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [9, 6, 3.5],
|
||||
@ -65,20 +73,15 @@
|
||||
"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"}
|
||||
}
|
||||
]
|
||||
},
|
||||
"bulb_inner": {
|
||||
"render_type": "minecraft:cutout",
|
||||
"textures": {
|
||||
"0": "create:block/display_link"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [2.5, 8, 9],
|
||||
"to": [7.5, 13, 10],
|
||||
@ -95,16 +98,28 @@
|
||||
"north": {"uv": [16, 13.5, 13.5, 16], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
]
|
||||
},
|
||||
"bulb": {
|
||||
"render_type": "minecraft:translucent",
|
||||
"textures": {
|
||||
"0": "create:block/display_link"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "group",
|
||||
"origin": [16, 0, 0],
|
||||
"color": 0,
|
||||
"children": [3, 4, 5, 6, 7]
|
||||
"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"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,13 +1,20 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"loader": "forge:composite",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"0": "create:block/nixie_tube",
|
||||
"particle": "create:block/nixie_tube"
|
||||
},
|
||||
"children": {
|
||||
"connectors": {
|
||||
"render_type": "minecraft:solid",
|
||||
"textures": {
|
||||
"0": "create:block/nixie_tube"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "connector4",
|
||||
"name": "connector1",
|
||||
"from": [5, 0, 9],
|
||||
"to": [11, 3, 15],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
|
||||
@ -21,7 +28,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "connector5",
|
||||
"name": "connector2",
|
||||
"from": [5, 0, 1],
|
||||
"to": [11, 3, 7],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
|
||||
@ -33,9 +40,17 @@
|
||||
"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": "tube5",
|
||||
"name": "tube1",
|
||||
"from": [5, 3, 9],
|
||||
"to": [11, 12, 15],
|
||||
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
|
||||
@ -48,7 +63,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "tube6",
|
||||
"name": "tube2",
|
||||
"from": [5, 3, 1],
|
||||
"to": [11, 12, 7],
|
||||
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
|
||||
@ -60,26 +75,7 @@
|
||||
"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]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,85 +1,3 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"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]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"parent": "create:block/nixie_tube/block"
|
||||
}
|
Loading…
Reference in New Issue
Block a user