mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
Add mappings for most important Extra Cells items (#115)
* EC2 deprecation: Part 1 - Items Laying the groundwork for absorbing EC2 mappings. * EC2 deprecation: Part 2 - Blocks * EC2 Deprecation: Part 3 - Parts Parts are deprecated. * set config "replaceEC2" to default true * API changes to make room for Extra Cells fluid placeholder * Finish basic item replacement code - parts work - items are remapped properly, and converted when they enter the player inventory * Fixed some storage cell conversion issues The placeholders did not transfer NBT data properly * Add handlers for deprecated item cells Now the placeholder should work automatically in a drive. The void cell is still a WIP. * Add more tooltip help and cell handler for void cell * apply spotless too lazy to rebase
This commit is contained in:
1 parent
6090f198e6
commit
dab5a0dbf3
28 files changed
+1457
-18
No files matched your search
@@ -6,6 +6,7 @@ import appeng.api.AEApi;
|
||||
|
||||
import com.glodblock.github.common.Config;
|
||||
import com.glodblock.github.common.storage.FluidCellHandler;
|
||||
import com.glodblock.github.crossmod.extracells.EC2Replacer;
|
||||
import com.glodblock.github.crossmod.opencomputers.OCDriverInit;
|
||||
import com.glodblock.github.crossmod.waila.WailaInit;
|
||||
import com.glodblock.github.inventory.InventoryHandler;
|
||||
@@ -93,6 +94,13 @@ public class FluidCraft {
|
||||
SPacketMEUpdateBuffer.disable();
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
public void missingMappings(FMLMissingMappingsEvent event) {
|
||||
if (!ModAndClassUtil.EC2 && Config.replaceEC2) {
|
||||
EC2Replacer.replaceExtraCells(event);
|
||||
}
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
public void onLoadComplete(FMLLoadCompleteEvent event) {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user