Reimplented connected textures with jsons

- Reimplented connected glass textures using jsons. @shartte can't be
done with jsons, huh?
This commit is contained in:
elix-x
2016-08-20 14:38:46 +02:00
parent 0c4cb295f3
commit 588b5d91cc
16 changed files with 107 additions and 24 deletions
@@ -1,7 +1,31 @@
{
"variants": {
"normal": {
"model": "appliedenergistics2:quartz"
"multipart": [
{
"apply": [{ "model": "appliedenergistics2:quartz_glass_1" }, { "model": "appliedenergistics2:quartz_glass_2" }, { "model": "appliedenergistics2:quartz_glass_3" }, { "model": "appliedenergistics2:quartz_glass_4" }]
},
{
"when": { "down": "false" },
"apply": { "model": "appliedenergistics2:quartz_glass_frame", "x": 90 }
},
{
"when": { "up": "false" },
"apply": { "model": "appliedenergistics2:quartz_glass_frame", "x": -90 }
},
{
"when": { "north": "false" },
"apply": { "model": "appliedenergistics2:quartz_glass_frame"}
},
{
"when": { "south": "false" },
"apply": { "model": "appliedenergistics2:quartz_glass_frame", "y": 180 }
},
{
"when": { "west": "false" },
"apply": { "model": "appliedenergistics2:quartz_glass_frame", "y": -90 }
},
{
"when": { "east": "false" },
"apply": { "model": "appliedenergistics2:quartz_glass_frame", "y": 90 }
}
}
}
]
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:blocks/quartz_ore"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:blocks/quartz_glass_1"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:blocks/quartz_glass_2"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:blocks/quartz_glass_3"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:blocks/quartz_glass_4"
}
}
@@ -0,0 +1,18 @@
{
"textures": {
"0": "appliedenergistics2:blocks/quartz_glass_frame"
},
"elements": [
{
"name": "Frame",
"from": [ 0.0, 0.0, 0.0 ],
"to": [ 16.0, 16.0, 1.0 ],
"faces": {
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ], "cullface": "east" },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ], "cullface": "west" },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ], "cullface": "up" },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ], "cullface": "down" }
}
}
]
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:items/quartz_glass"
"all": "appliedenergistics2:blocks/quartz_glass"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 100
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B