mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 06:34:35 +00:00
Chisel left click redone, Thanks tterrag
This commit is contained in:
1 parent
dc4e3601f0
commit
0d364386cb
5 files changed
+76
-231
No files matched your search
@@ -104,15 +104,14 @@ public class ModBlocks {
|
||||
public static BlockCarvablePane[] stainedGlassPane = new BlockCarvablePane[8];
|
||||
|
||||
//1.8 or at least so you think :P
|
||||
public static BlockCarvable granite, polishedGranite;
|
||||
public static BlockCarvable diorite, polishedDiorite;
|
||||
public static BlockCarvable andesite, polishedAndesite;
|
||||
public static BlockCarvable granite;
|
||||
public static BlockCarvable diorite;
|
||||
public static BlockCarvable andesite;
|
||||
|
||||
private static boolean areChestsReady = false;
|
||||
|
||||
public static void load()
|
||||
{
|
||||
Blocks.stone.setHarvestLevel("chisel", 0);
|
||||
Blocks.sand.setHarvestLevel("chisel", 0);
|
||||
|
||||
if(Configurations.featureEnabled("autoChisel")){
|
||||
autoChisel = new BlockAutoChisel().setBlockTextureName("Chisel:autoChisel").setCreativeTab(ModTabs.tabChisel).setBlockName("autoChisel").setBlockTextureName(Chisel.MOD_ID + ":factory/circuit");
|
||||
GameRegistry.registerBlock(autoChisel, "autoChisel");
|
||||
@@ -1443,7 +1442,7 @@ public class ModBlocks {
|
||||
Carving.chisel.registerOre("leaves", "leaves");
|
||||
}
|
||||
|
||||
if (Configurations.featureEnabled("chest")) {
|
||||
if (areChestsReady) {
|
||||
for(int x = 0; x < 16; x++){
|
||||
present[x] = (BlockPresent) new BlockPresent(x).setCreativeTab(ModTabs.tabOtherChiselBlocks).setHardness(2.0F).setResistance(10.0F).setBlockName("present");
|
||||
GameRegistry.registerBlock(present[x], "chest" + x);
|
||||
|
||||
Reference in new issue
Block a user