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:
firenoo authored and GitHub committed 2023-05-01 19:42:52 +02:00
1 parent 6090f198e6
commit dab5a0dbf3
28 files changed
+1457 -18

No files matched your search

@@ -175,7 +175,7 @@ public abstract class FCBaseItemCell extends AEBaseItem implements IStorageFluid
}
@Override
public double getIdleDrain() {
public double getIdleDrain(ItemStack is) {
return this.idleDrain;
}
@@ -71,7 +71,7 @@ public class ItemCreativeFluidStorageCell extends AEBaseItem
}
@Override
public double getIdleDrain() {
public double getIdleDrain(ItemStack is) {
return 0;
}
@@ -150,7 +150,7 @@ public class ItemPortableFluidCell extends AEBasePoweredItem
}
@Override
public double getIdleDrain() {
public double getIdleDrain(ItemStack is) {
return 0.5;
}