Fixes vibrant quartz glass using the wrong model.

Fixes matrix frame not having a model (the block is transparent though).
Don't register an item model for the invalid part anymore.
Make variant registration for items more explicit.
This fixes #5
This commit is contained in:
Sebastian Hartte
2016-09-10 13:19:21 +02:00
parent 418e44390d
commit 3403e47b02
8 changed files with 33 additions and 33 deletions
@@ -0,0 +1,7 @@
{
"variants": {
"normal": {
"model": "appliedenergistics2:matrix_frame"
}
}
}
@@ -1,31 +1,7 @@
{
"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 }
"variants": {
"normal": {
"model": "appliedenergistics2:builtin/quartz_glass"
}
]
}
}
}
@@ -0,0 +1,3 @@
{
"elements": []
}