Completely modularize submap and RenderBlocks managing

- Fix RenderBlocksCTM ignoring the renderMin/Max values
- Add custom handler for carpet to avoid hardcoding
- TODO blocks that use existing blocks as icons, e.g. ice stairs
This commit is contained in:
tterrag1098 committed 2015-04-24 03:38:37 -04:00
1 parent bc607a3104
commit 65693b868c
23 files changed
+661 -493

No files matched your search

@@ -37,13 +37,14 @@ public class BlockCarvablePillar extends BlockCarvable {
var = carverHelper.infoList.get(metadata);
else
var = carverHelper.infoList.get(0);
return var.getSubmapManager().getIcon(0, metadata);
// TODO this...
if (index >= 4)
return var.iconTop;
if (var.seamsCtmVert == null)
return var.icon;
return var.seamsCtmVert.getSubIcon(index % 2, index / 2);
// if (index >= 4)
// return var.iconTop;
// if (var.seamsCtmVert == null)
// return var.icon;
// return var.seamsCtmVert.getSubIcon(index % 2, index / 2);
}
}