mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 00:07:37 +00:00
Fixed the crash bug in the latest forge, i think.
This commit is contained in:
1 parent
8312a8eb81
commit
0780f7169a
6 files changed
+31
-26
No files matched your search
@@ -63,6 +63,7 @@ public class ChiselBlocks
|
||||
public static BlockCarvable blockTemple;
|
||||
public static BlockCarvable blockTempleMossy;
|
||||
public static BlockCarvable blockFactory;
|
||||
public static BlockCarvablePane blockPaperwall;
|
||||
|
||||
public static BlockSnakestone blockSnakestone;
|
||||
public static BlockSnakestone blockSandSnakestone;
|
||||
@@ -102,8 +103,8 @@ public class ChiselBlocks
|
||||
|
||||
if(Chisel.multipartLoaded)
|
||||
{
|
||||
// for(int i = 0; i < 16; i++)
|
||||
// MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(blockMarble, i), "blockMarble" + i);
|
||||
// for(int i = 0; i < 16; i++)
|
||||
// MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(blockMarble, i), "blockMarble" + i);
|
||||
}
|
||||
|
||||
blockMarbleSlab = (BlockMarbleSlab) new BlockMarbleSlab(blockMarble).setHardness(2.0F).setResistance(10F);
|
||||
@@ -1177,11 +1178,23 @@ public class ChiselBlocks
|
||||
Carving.chisel.registerOre(blockName, oreName);
|
||||
for(CarvableVariation cv : blockStainedGlassPane[glassId].carverHelper.variations)
|
||||
{
|
||||
if(cv.metadata < glassPrefix || cv.metadata >= glassPrefix + 8) continue;
|
||||
if(cv.metadata < glassPrefix || cv.metadata >= glassPrefix + 8)
|
||||
continue;
|
||||
blockStainedGlassPane[glassId].carverHelper.registerVariation(blockName, cv, blockStainedGlassPane[glassId], cv.metadata);
|
||||
}
|
||||
}
|
||||
|
||||
if(Chisel.featureEnabled("paperWall"))
|
||||
{
|
||||
//blockPaperwall = (BlockCarvablePane) new BlockCarvablePane(Material.ground, true).setCreativeTab(Chisel.tabChisel).setHardness(2.0F).setResistance(10F);
|
||||
//blockFactory.carverHelper.setBlockName("Paperwall");
|
||||
//blockFactory.carverHelper.addVariation("Basic paperwall", 0, "paper/basic");
|
||||
|
||||
|
||||
//blockTempleMossy.carverHelper.register(blockPaperwall, "paperwall");
|
||||
|
||||
}
|
||||
|
||||
Blocks.stone.setHarvestLevel("chisel", 0, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user