Allow to copy Fluid Interface fluid config to Memory Card (#443)

This commit is contained in:
Kogepan229 authored and GitHub committed 2026-06-10 06:44:42 +00:00
1 parent 1aba13e96f
commit 208e4d66d9
5 files changed
+97

No files matched your search

@@ -147,6 +147,16 @@ public class DualityFluidInterface implements IGridTickable, IStorageMonitorable
this.readConfig();
}
public void writeConfigToNBT(NBTTagCompound data, String name) {
this.config.writeToNBT(data, name);
}
public void readConfigFromNBT(NBTTagCompound data, String name) {
this.config.readFromNBT(data, name);
this.readConfig();
this.saveChanges();
}
public AEFluidInventory getConfig() {
return this.config;
}