WIP tag to interface, capacity spacing fix, removed Supercondensator

Sidenote: Also renamed DocumentAssistUtils to ToolTipAssistUtils.
This commit is contained in:
Justin Vitale 2020-01-04 14:20:34 +11:00
parent 7b99e2e9b7
commit 9aeddd204a
12 changed files with 24 additions and 178 deletions

View file

@ -157,7 +157,7 @@ public class TankUnitBaseBlockEntity extends MachineBaseBlockEntity implements I
info.add(new TranslatableText("techreborn.tooltip.unit.empty"));
}
}
info.add(new LiteralText(Formatting.GRAY + StringUtils.t("techreborn.tooltip.unit.capacity") + ":" + Formatting.GOLD + this.tank.getCapacity() + " (" + this.tank.getCapacity().getRawValue() / 1000 + ")"));
info.add(new LiteralText(Formatting.GRAY + StringUtils.t("techreborn.tooltip.unit.capacity") + Formatting.GOLD + this.tank.getCapacity() + " (" + this.tank.getCapacity().getRawValue() / 1000 + ")"));
}
// IContainerProvider

View file

@ -338,7 +338,7 @@ public class StorageUnitBaseBlockEntity extends MachineBaseBlockEntity
}
}
info.add(new LiteralText(Formatting.GRAY + StringUtils.t("techreborn.tooltip.unit.capacity") + ": " + Formatting.GOLD + this.getMaxCapacity() +
info.add(new LiteralText(Formatting.GRAY + StringUtils.t("techreborn.tooltip.unit.capacity") + Formatting.GOLD + this.getMaxCapacity() +
" items (" + this.getMaxCapacity() / 64 + ")"));
}