mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-15 17:44:46 +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
@@ -19,6 +19,7 @@ public class Config {
|
||||
public static double portableCellBattery;
|
||||
public static int packetSize;
|
||||
public static int packetRate;
|
||||
public static boolean replaceEC2;
|
||||
|
||||
public static void run() {
|
||||
loadCategory();
|
||||
@@ -60,6 +61,11 @@ public class Config {
|
||||
.get("Fluid Craft for AE2", "packetRate", 50, "Period at which packets are dispatched, in ms.")
|
||||
.getInt();
|
||||
if (packetRate <= 0) packetRate = 50;
|
||||
replaceEC2 = Config.getBoolean(
|
||||
"Fluid Craft for AE2",
|
||||
"replaceEC2",
|
||||
true,
|
||||
"Set true to handle missing item mappings from EC2. Note to work properly, you must have all relevant parts.");
|
||||
if (Config.hasChanged()) Config.save();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user