mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Move inventory code to their own files, refactor, cleanup.
Register items and blocks before the rest of preInit.
This commit is contained in:
1 parent
f1afca664b
commit
411b4959f2
229 files changed
+4628
-5271
No files matched your search
@@ -122,7 +122,7 @@ public class FarmController extends RectangularMultiblockControllerBase implemen
|
||||
private final Map<FarmDirection, IFarmLogic> farmLogics = new EnumMap<>(FarmDirection.class);
|
||||
|
||||
private final InventoryAdapter sockets;
|
||||
private final FarmInventory inventory;
|
||||
private final InventoryFarm inventory;
|
||||
private final TankManager tankManager;
|
||||
private final StandardTank resourceTank;
|
||||
private final FarmHydrationManager hydrationManager;
|
||||
@@ -139,7 +139,7 @@ public class FarmController extends RectangularMultiblockControllerBase implemen
|
||||
this.resourceTank = new FilteredTank(Constants.PROCESSOR_TANK_CAPACITY, FluidRegistry.WATER);
|
||||
this.tankManager = new TankManager(this, resourceTank);
|
||||
|
||||
this.inventory = new FarmInventory(this);
|
||||
this.inventory = new InventoryFarm(this);
|
||||
this.sockets = new InventoryAdapter(1, "sockets");
|
||||
this.hydrationManager = new FarmHydrationManager(this);
|
||||
this.fertilizerManager = new FarmFertilizerManager();
|
||||
|
||||
Reference in new issue
Block a user