mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Use new block and item registration
This commit is contained in:
1 parent
7601a60c5e
commit
7403a6cdcd
9 files changed
+75
-52
No files matched your search
@@ -19,7 +19,10 @@ public class BlockRegistryFarming extends BlockRegistry {
|
||||
public final BlockFarm farm;
|
||||
|
||||
public BlockRegistryFarming() {
|
||||
mushroom = registerBlock(new BlockMushroom(), ItemBlockForestry.class, "mushroom");
|
||||
farm = registerBlock(new BlockFarm(), ItemBlockFarm.class, "ffarm");
|
||||
mushroom = new BlockMushroom();
|
||||
registerBlock(mushroom, new ItemBlockForestry(mushroom), "mushroom");
|
||||
|
||||
farm = new BlockFarm();
|
||||
registerBlock(farm, new ItemBlockFarm(farm), "ffarm");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user