From 6d126dca2798cd450e335924e3faef32503d8a34 Mon Sep 17 00:00:00 2001 From: Jeremy Diamond Date: Fri, 4 Apr 2014 16:04:01 -0700 Subject: [PATCH] Registering Nether Star Block in Ore Dictionary --- src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java b/src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java index ab23921..c393775 100644 --- a/src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java +++ b/src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java @@ -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)); } } \ No newline at end of file