mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-22 21:29:52 +00:00
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:
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user