mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 05:44:27 +00:00
Better tooltips
This commit is contained in:
1 parent
42f27058c2
commit
52daff9f67
5 files changed
+18
-5
No files matched your search
@@ -122,11 +122,13 @@ public class ItemBlockGasTank extends ItemBlock implements IGasItem, ISustainedI
|
||||
|
||||
if(gasStack == null)
|
||||
{
|
||||
list.add(LangUtils.localize("tooltip.noGas") + ".");
|
||||
list.add(EnumColor.DARK_RED + LangUtils.localize("gui.empty") + ".");
|
||||
}
|
||||
else {
|
||||
list.add(LangUtils.localize("tooltip.stored") + " " + gasStack.getGas().getLocalizedName() + ": " + gasStack.amount);
|
||||
list.add(EnumColor.ORANGE + gasStack.getGas().getLocalizedName() + ": " + EnumColor.GREY + gasStack.amount);
|
||||
}
|
||||
|
||||
list.add(EnumColor.INDIGO + LangUtils.localize("tooltip.capacity") + ": " + EnumColor.GREY + GasTankTier.values()[getBaseTier(itemstack).ordinal()].storage);
|
||||
|
||||
if(!MekKeyHandler.getIsKeyPressed(MekanismKeyHandler.sneakKey))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user