Move non-fluff blocks to new registreation system (yay no more registering in ctors)

This commit is contained in:
Vincent Lee committed 2017-06-24 23:47:59 -05:00
1 parent a6b37966a1
commit 901f70da88
35 files changed
+432 -437

No files matched your search

@@ -68,8 +68,6 @@ public abstract class BlockModDoubleFlower extends BlockDoublePlant implements I
String name = LibBlockNames.DOUBLE_FLOWER + (second ? 2 : 1);
setDefaultState(pickDefaultState());
setRegistryName(new ResourceLocation(LibMisc.MOD_ID, name));
GameRegistry.register(this);
GameRegistry.register(new ItemBlockWithMetadataAndName(this), getRegistryName());
setUnlocalizedName(name);
setHardness(0F);
setTickRandomly(false);