Glue block

This commit is contained in:
Sunstrike committed 2013-11-23 14:09:08 +00:00
1 parent 2bf8dc759c
commit 1387bc6f74
5 files changed
+59 -1

No files matched your search

+5
View File
@@ -158,6 +158,7 @@ public class TContent implements IFuelHandler
public static Block meatBlock;
public static Block woolSlab1;
public static Block woolSlab2;
public static Block glueBlock;
//Traps
public static Block landmine;
@@ -378,6 +379,10 @@ public class TContent implements IFuelHandler
LanguageRegistry.addName(meatBlock, "Hambone");
GameRegistry.addRecipe(new ItemStack(meatBlock), "mmm", "mbm", "mmm", 'b', new ItemStack(Item.bone), 'm', new ItemStack(Item.porkRaw));
glueBlock = new GlueBlock(PHConstruct.glueBlock).setUnlocalizedName("GlueBlock").setCreativeTab(TConstructRegistry.blockTab);
GameRegistry.registerBlock(glueBlock, "GlueBlock");
OreDictionary.registerOre("blockRubber", new ItemStack(glueBlock));
woolSlab1 = new SlabBase(PHConstruct.woolSlab1, Material.cloth, Block.cloth, 0, 8).setUnlocalizedName("cloth");
woolSlab1.setStepSound(Block.soundClothFootstep).setCreativeTab(CreativeTabs.tabDecorations);
GameRegistry.registerBlock(woolSlab1, WoolSlab1Item.class, "WoolSlab1");