Fixed hologram block renderer.

This commit is contained in:
Florian Nücke 2015-02-14 22:24:14 +01:00
parent 5c541641f5
commit 03dc770188
2 changed files with 32 additions and 52 deletions

View File

@ -8,24 +8,20 @@
{ "from": [ 4, 0, 4 ],
"to": [ 12, 3, 12 ],
"faces": {
"up": { "uv": [ 4, 4, 12, 12 ], "texture": "#top" },
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#bottom" },
"north": { "uv": [ 4, 0, 12, 3 ], "texture": "#side" },
"south": { "uv": [ 4, 0, 12, 3 ], "texture": "#side" },
"west": { "uv": [ 4, 0, 12, 3 ], "texture": "#side" },
"east": { "uv": [ 4, 0, 12, 3 ], "texture": "#side" }
"up": { "uv": [ 4, 4, 12, 12 ], "texture": "#top" },
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#bottom" }
}
},
{ "from": [ 0, 0, 0 ],
"to": [ 2, 7, 16 ],
"faces": {
"up": { "uv": [ 0, 0, 2, 16 ], "texture": "#top" },
"down": { "uv": [ 0, 0, 2, 16 ], "texture": "#bottom" },
"north": { "uv": [ 0, 0, 2, 7 ], "texture": "#side" },
"south": { "uv": [ 0, 0, 2, 7 ], "texture": "#side" },
"west": { "uv": [ 0, 0, 16, 7 ], "texture": "#side" },
"east": { "uv": [ 0, 0, 16, 7 ], "texture": "#side" }
"up": { "uv": [ 0, 0, 2, 16 ], "texture": "#top" },
"down": { "uv": [ 0, 0, 2, 16 ], "texture": "#bottom" },
"north": { "uv": [ 2, 9, 0, 16 ], "texture": "#side" },
"south": { "uv": [ 0, 9, 2, 16 ], "texture": "#side" },
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#side" },
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#side" }
}
},
{ "from": [ 14, 0, 0 ],
@ -33,77 +29,61 @@
"faces": {
"up": { "uv": [ 14, 0, 16, 16 ], "texture": "#top" },
"down": { "uv": [ 14, 0, 16, 16 ], "texture": "#bottom" },
"north": { "uv": [ 14, 0, 7, 16 ], "texture": "#side" },
"south": { "uv": [ 14, 0, 7, 16 ], "texture": "#side" },
"west": { "uv": [ 0, 0, 7, 16 ], "texture": "#side" },
"east": { "uv": [ 0, 0, 7, 16 ], "texture": "#side" }
"north": { "uv": [ 0, 9, 2, 16 ], "texture": "#side" },
"south": { "uv": [ 2, 9, 0, 16 ], "texture": "#side" },
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#side" },
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#side" }
}
},
{ "from": [ 2, 0, 0 ],
"to": [ 14, 7, 2 ],
"faces": {
"up": { "uv": [ 2, 0, 14, 2 ], "texture": "#top" },
"down": { "uv": [ 2, 0, 14, 2 ], "texture": "#bottom" },
"north": { "uv": [ 2, 0, 14, 7 ], "texture": "#side" },
"south": { "uv": [ 2, 0, 14, 7 ], "texture": "#side" },
"west": { "uv": [ 0, 0, 2, 7 ], "texture": "#side" },
"east": { "uv": [ 0, 0, 2, 7 ], "texture": "#side" }
"up": { "uv": [ 2, 0, 14, 2 ], "texture": "#top" },
"down": { "uv": [ 2, 2, 14, 0 ], "texture": "#bottom" },
"north": { "uv": [ 2, 9, 14, 16 ], "texture": "#side" },
"south": { "uv": [ 2, 9, 14, 16 ], "texture": "#side" }
}
},
{ "from": [ 2, 0, 14 ],
"to": [ 14, 7, 16 ],
"faces": {
"up": { "uv": [ 2, 14, 14, 16 ], "texture": "#top" },
"down": { "uv": [ 2, 14, 14, 16 ], "texture": "#bottom" },
"north": { "uv": [ 2, 0, 14, 7 ], "texture": "#side" },
"south": { "uv": [ 2, 0, 14, 7 ], "texture": "#side" },
"west": { "uv": [ 14, 0, 16, 7 ], "texture": "#side" },
"east": { "uv": [ 14, 0, 16, 7 ], "texture": "#side" }
"down": { "uv": [ 2, 16, 14, 14 ], "texture": "#bottom" },
"north": { "uv": [ 2, 9, 14, 16 ], "texture": "#side" },
"south": { "uv": [ 2, 9, 14, 16 ], "texture": "#side" }
}
},
{ "from": [ 2, 0, 2 ],
"to": [ 4, 5, 14 ],
"faces": {
"up": { "uv": [ 2, 2, 4, 14 ], "texture": "#top" },
"down": { "uv": [ 2, 2, 4, 14 ], "texture": "#bottom" },
"north": { "uv": [ 2, 0, 4, 5 ], "texture": "#side" },
"south": { "uv": [ 2, 0, 4, 5 ], "texture": "#side" },
"west": { "uv": [ 2, 0, 14, 5 ], "texture": "#side" },
"east": { "uv": [ 2, 0, 14, 5 ], "texture": "#side" }
"up": { "uv": [ 2, 2, 4, 14 ], "texture": "#top" },
"down": { "uv": [ 2, 2, 4, 14 ], "texture": "#bottom" },
"east": { "uv": [ 2, 16, 14, 11 ], "texture": "#side" }
}
},
{ "from": [ 12, 0, 2 ],
"to": [ 14, 5, 14 ],
"faces": {
"up": { "uv": [ 12, 2, 14, 14 ], "texture": "#top" },
"down": { "uv": [ 12, 2, 14, 14 ], "texture": "#bottom" },
"north": { "uv": [ 12, 0, 14, 5 ], "texture": "#side" },
"south": { "uv": [ 12, 0, 14, 5 ], "texture": "#side" },
"west": { "uv": [ 2, 0, 14, 5 ], "texture": "#side" },
"east": { "uv": [ 2, 0, 14, 5 ], "texture": "#side" }
"up": { "uv": [ 12, 2, 14, 14 ], "texture": "#top" },
"down": { "uv": [ 12, 2, 14, 14 ], "texture": "#bottom" },
"west": { "uv": [ 2, 16, 14, 11 ], "texture": "#side" }
}
},
{ "from": [ 4, 0, 2 ],
"to": [ 12, 5, 4 ],
"faces": {
"up": { "uv": [ 4, 2, 12, 4 ], "texture": "#top" },
"down": { "uv": [ 4, 2, 12, 4 ], "texture": "#bottom" },
"north": { "uv": [ 4, 0, 12, 5 ], "texture": "#side" },
"south": { "uv": [ 4, 0, 12, 5 ], "texture": "#side" },
"west": { "uv": [ 2, 0, 5, 5 ], "texture": "#side" },
"east": { "uv": [ 2, 0, 5, 5 ], "texture": "#side" }
"up": { "uv": [ 4, 2, 12, 4 ], "texture": "#top" },
"down": { "uv": [ 4, 2, 12, 4 ], "texture": "#bottom" },
"south": { "uv": [ 4, 16, 12, 11 ], "texture": "#side" }
}
},
{ "from": [ 4, 0, 12 ],
"to": [ 12, 5, 14 ],
"faces": {
"up": { "uv": [ 4, 12, 12, 14 ], "texture": "#top" },
"down": { "uv": [ 4, 12, 12, 14 ], "texture": "#bottom" },
"north": { "uv": [ 4, 0, 12, 5 ], "texture": "#side" },
"south": { "uv": [ 4, 0, 12, 5 ], "texture": "#side" },
"west": { "uv": [ 12, 0, 14, 5 ], "texture": "#side" },
"east": { "uv": [ 12, 0, 14, 5 ], "texture": "#side" }
"up": { "uv": [ 4, 12, 12, 14 ], "texture": "#top" },
"down": { "uv": [ 4, 12, 12, 14 ], "texture": "#bottom" },
"north": { "uv": [ 4, 16, 12, 11 ], "texture": "#side" }
}
}
]

View File

@ -1,6 +1,6 @@
{
"parent": "opencomputers:block/hologram",
"textures": {
"top": "opencomputers:blocks/hologram1_top"
"top": "opencomputers:blocks/hologram2_top"
}
}