mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-12 16:27:30 +00:00
Registering Nether Star Block in Ore Dictionary
This commit is contained in:
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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user