Skip to content

Commit

Permalink
tank capacity to 1000L
Browse files Browse the repository at this point in the history
  • Loading branch information
aagrishankov authored Nov 2, 2020
1 parent bafbb7f commit 78d421d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public TileEntityFluidInterface() {
this.inventory = new FluidInterfaceInventory();
this.gridBlock = new ECFluidGridBlock(this);
for (int i = 0; i < this.tanks.length; i++) {
this.tanks[i] = new FluidTank(64000) {
this.tanks[i] = new FluidTank(1000) {
@Override
public FluidTank readFromNBT(NBTTagCompound nbt) {
if (!nbt.hasKey("Empty")) {
Expand Down Expand Up @@ -424,7 +424,7 @@ public List<String> getWailaBody(List<String> list, NBTTagCompound tag,
+ side.ordinal()));
FluidTank[] tanks = new FluidTank[6];
for (int i = 0; i < tanks.length; i++) {
tanks[i] = new FluidTank(64000) {
tanks[i] = new FluidTank(1000) {
@Override
public FluidTank readFromNBT(NBTTagCompound nbt) {
if (!nbt.hasKey("Empty")) {
Expand Down Expand Up @@ -452,14 +452,14 @@ public FluidTank readFromNBT(NBTTagCompound nbt) {
.translateToLocal("extracells.tooltip.empty1"));
list.add(StatCollector
.translateToLocal("extracells.tooltip.amount")
+ ": 0L / 64000L");
+ ": 0L / 1000L");
} else {
list.add(StatCollector.translateToLocal("extracells.tooltip.fluid")
+ ": " + tank.getFluid().getLocalizedName());
list.add(StatCollector
.translateToLocal("extracells.tooltip.amount")
+ ": "
+ tank.getFluidAmount() + "L / 64000L");
+ tank.getFluidAmount() + "L / 1000L");
}
return list;
}
Expand Down Expand Up @@ -1029,4 +1029,4 @@ public void writeToNBTWithoutExport(NBTTagCompound tag) {
this.inventory.writeToNBT(inventory);
tag.setTag("inventory", inventory);
}
}
}

0 comments on commit 78d421d

Please sign in to comment.