mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +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 BlockRegistryFactory extends BlockRegistry {
|
||||
public final BlockFactoryPlain factoryPlain;
|
||||
|
||||
public BlockRegistryFactory() {
|
||||
factoryTESR = registerBlock(new BlockFactoryTESR(), ItemBlockForestry.class, "factory");
|
||||
factoryPlain = registerBlock(new BlockFactoryPlain(), ItemBlockNBT.class, "factory2");
|
||||
factoryTESR = new BlockFactoryTESR();
|
||||
registerBlock(factoryTESR, new ItemBlockForestry(factoryTESR), "factory");
|
||||
|
||||
factoryPlain = new BlockFactoryPlain();
|
||||
registerBlock(factoryPlain, new ItemBlockNBT(factoryPlain), "factory2");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user