Change how blocks/items are registered (desc)

tterrag is a meany face and yelled at me for using class.getSimpleName(). So here's an API-friendly re-work of the registration system. This allows all our Items/Blocks to be obtained via the API. Just add a new enum.
This commit is contained in:
Nick 2016-01-18 22:34:12 -08:00
parent 2a028414b1
commit fdfcb5c5b7
69 changed files with 260 additions and 15 deletions
src/main/java/WayofTime/bloodmagic/block

View file

@ -22,6 +22,7 @@ public class BlockSoulForge extends BlockContainer
super(Material.iron);
setUnlocalizedName(Constants.Mod.MODID + ".soulForge");
setRegistryName(Constants.BloodMagicBlock.SOUL_FORGE.getRegName());
setHardness(2.0F);
setResistance(5.0F);
setStepSound(soundTypeMetal);