mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Change the plugin system to a module system and slit up modules
-Moved the woodpile from the arboriculture module to the charcoal module -Moved the backpacks from the storage module to the backpacks module -Moved the crates from the storage module to the creates module -Added the database module with a new storage for individuals -Added a gui element system to improve the alyzer api -Added a species plugin interface to handle the database gui -Added some alyzer methods to the species plugin to move the alyzer integration later to it
This commit is contained in:
1 parent
ee272de168
commit
88fd031fb4
277 files changed
+7361
-1930
No files matched your search
@@ -13,7 +13,7 @@ package forestry.energy.tiles;
|
||||
import java.io.IOException;
|
||||
|
||||
import forestry.api.fuels.FuelManager;
|
||||
import forestry.core.PluginCore;
|
||||
import forestry.core.ModuleCore;
|
||||
import forestry.core.config.Constants;
|
||||
import forestry.core.errors.EnumErrorCode;
|
||||
import forestry.core.inventory.AdjacentInventoryCache;
|
||||
@@ -74,7 +74,7 @@ public class TileEnginePeat extends TileEngine implements ISidedInventory {
|
||||
return i;
|
||||
}
|
||||
|
||||
if (waste.getItem() != PluginCore.getItems().ash) {
|
||||
if (waste.getItem() != ModuleCore.getItems().ash) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -180,7 +180,7 @@ public class TileEnginePeat extends TileEngine implements ISidedInventory {
|
||||
IInventoryAdapter inventory = getInternalInventory();
|
||||
ItemStack wasteStack = inventory.getStackInSlot(wasteSlot);
|
||||
if (wasteStack.isEmpty()) {
|
||||
inventory.setInventorySlotContents(wasteSlot, PluginCore.getItems().ash.getItemStack());
|
||||
inventory.setInventorySlotContents(wasteSlot, ModuleCore.getItems().ash.getItemStack());
|
||||
} else {
|
||||
wasteStack.grow(1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user