mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 14:44:35 +00:00
Update to conform to new CTMLib layout. Bit hacky, unsure if final
This commit is contained in:
1 parent
8ab3c7159b
commit
9d9172fc75
23 files changed
+97
-142
No files matched your search
@@ -142,7 +142,7 @@ public class CarvableHelper {
|
||||
if (info == null)
|
||||
return getMissingIcon();
|
||||
|
||||
return info.getSubmapManager().getIcon(side, metadata);
|
||||
return info.getIcon(side, metadata);
|
||||
}
|
||||
|
||||
public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side) {
|
||||
@@ -155,7 +155,7 @@ public class CarvableHelper {
|
||||
if (info == null)
|
||||
return getMissingIcon();
|
||||
|
||||
return info.getSubmapManager().getIcon(world, x, y, z, side);
|
||||
return info.getIcon(world, x, y, z, side);
|
||||
}
|
||||
|
||||
public void registerAll(Block block, String name) {
|
||||
@@ -199,7 +199,7 @@ public class CarvableHelper {
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(String modName, Block block, IIconRegister register) {
|
||||
for (IVariationInfo info : infoList) {
|
||||
info.getSubmapManager().registerIcons(modName, block, register);
|
||||
info.registerIcons(modName, block, register);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user