Fixes and cleanup

- Compile error fixes (blame @biggles2206). Fixes #53.
- UVLModelLoader is now cross compatible with vanilla (vanilla can use
uvl parents who have vanilla parents).
- Due to it, now using uvlMarker instead of .uvl.
- General code reformatting and cleanup.
This commit is contained in:
elix-x
2016-08-15 18:19:33 +02:00
parent 24ddc0e574
commit 63f426336b
10 changed files with 46 additions and 31 deletions
@@ -1,5 +1,5 @@
{
"variants": {
"normal": { "model": "UVLightmapJsonTest:uvlblock.uvl" }
"normal": { "model": "uvlightmapjsontest:uvlblock_vanilla" }
}
}
@@ -1,4 +1,5 @@
{
"uvlMarker": true,
"textures": {
"0": "blocks/obsidian",
"1": "uvlightmapjsontest:blocks/BlockControllerLights"
@@ -0,0 +1,6 @@
{
"parent": "uvlightmapjsontest:block/uvlblock",
"textures": {
"0": "blocks/diamond_block"
}
}
@@ -1,3 +1,3 @@
{
"parent": "uvlightmapjsontest:block/uvlblock.uvl"
"parent": "uvlightmapjsontest:block/uvlblock"
}