Registering Nether Star Block in Ore Dictionary

This commit is contained in:
Jeremy Diamond committed 2014-04-04 16:04:01 -07:00
1 parent 07d166e40a
commit 6d126dca27
1 file changed
+4
@@ -25,12 +25,16 @@ public class ForbiddenBlocks
{
arcaneCake = new BlockArcaneCake(Config.arcaneCakeBlockID).setHardness(0.5F).setStepSound(Block.soundClothFootstep).setUnlocalizedName("ArcaneCake");
GameRegistry.registerBlock(arcaneCake, "ArcaneCake");
wrathCage = new BlockWrathCage(Config.wrathCageID).setHardness(5.0F).setResistance(2000.0F).setStepSound(Block.soundMetalFootstep).setTextureName("forbidden:spirit_box").setUnlocalizedName("WrathCage");
GameRegistry.registerBlock(wrathCage, "WrathCage");
GameRegistry.registerTileEntity(TileEntityWrathCage.class, "WrathCage");
blackFlower = new BlockBlackFlower(Config.blackFlowerBlockID).setStepSound(Block.soundGrassFootstep).setTextureName("forbidden:flower_black").setUnlocalizedName("InkFlower");
GameRegistry.registerBlock(blackFlower, "InkFlower");
starBlock = new BlockResource(Config.starBlockID).setHardness(5.0F).setStepSound(Block.soundMetalFootstep).setTextureName("forbidden:starblock").setUnlocalizedName("StarBlock");
GameRegistry.registerBlock(starBlock, "StarBlock");
OreDictionary.registerOre("blockNetherStar", new ItemStack(starBlock, 1, 0));
}
}