mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Move non-fluff blocks to new registreation system (yay no more registering in ctors)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user