Add info text to the fluid identifiers

This commit is contained in:
MartinTheDragon 2021-10-30 00:27:02 +02:00
parent e20947af50
commit 78b9711fe8
No known key found for this signature in database
GPG Key ID: F03B4EA7AB5A6C23
3 changed files with 13 additions and 1 deletions

View File

@ -70,8 +70,12 @@ public class ItemFluidIdentifier extends Item {
list.add(EnumChatFormatting.YELLOW + I18nUtil.resolveKey("info.templatefolder", I18nUtil.resolveKey(ModItems.template_folder.getUnlocalizedName() + ".name")));
list.add("");
list.add("Universal fluid identifier for:");
list.add(I18nUtil.resolveKey(getUnlocalizedName() + ".info"));
list.add(" " + I18n.format(FluidType.getEnum(stack.getItemDamage()).getUnlocalizedName()));
list.add("");
list.add(I18nUtil.resolveKey(getUnlocalizedName() + ".usage0"));
list.add(I18nUtil.resolveKey(getUnlocalizedName() + ".usage1"));
list.add(I18nUtil.resolveKey(getUnlocalizedName() + ".usage2"));
}
public static FluidType getType(ItemStack stack) {

View File

@ -1213,6 +1213,10 @@ item.fluid_barrel_full.name=Flüssigkeitsfass:
item.fluid_barrel_infinite.name=Unendliches Fass
item.fluid_duct.name=Flüssigkeitsrohr:
item.fluid_identifier.name=Flüssigkeits-Kennzeichnung
item.fluid_identifier.info=Universelle Flüssigkeits-Kennzeichnung für:
item.fluid_identifier.usage0=Rechtsklicke Rohre, um ihnen die jeweilige Flüssigkeit zuzuweisen.
item.fluid_identifier.usage1=Shift-rechtsklicke Rohre, um angeschlossene Rohre mit
item.fluid_identifier.usage2=einer maximalen Reichweite von 64 Rohren zuzuweisen.
item.fluid_tank_empty.name=Leere universelle Flüssigkeitszelle
item.fluid_tank_full.name=Universelle Flüssigkeitszelle:
item.fluorite.name=Fluorit

View File

@ -1281,6 +1281,10 @@ item.fluid_barrel_full.name=Fluid Barrel:
item.fluid_barrel_infinite.name=Infinite Fluid Barrel
item.fluid_duct.name=Fluid Duct:
item.fluid_identifier.name=Fluid Identifier
item.fluid_identifier.info=Universal fluid identifier for:
item.fluid_identifier.usage0=Right click fluid ducts to designate them for that fluid.
item.fluid_identifier.usage1=Shift right click fluid ducts to designate adjacent ducts
item.fluid_identifier.usage2=up to a maximum range of 64 ducts.
item.fluid_tank_empty.name=Empty Universal Fluid Tank
item.fluid_tank_full.name=Universal Fluid Tank:
item.fluorite.name=Fluorite