Simplify tooltips

This commit is contained in:
Raoul Van den Berge
2016-07-31 17:45:22 +02:00
parent 74a62f5035
commit 82dde2b27c
6 changed files with 6 additions and 26 deletions

View File

@@ -46,9 +46,7 @@ public class ItemNetworkCard extends ItemBase {
BlockPos pos = getReceiver(stack);
if (pos != null) {
tooltip.add(I18n.format("misc.refinedstorage:network_card.tooltip.0", pos.getX()));
tooltip.add(I18n.format("misc.refinedstorage:network_card.tooltip.1", pos.getY()));
tooltip.add(I18n.format("misc.refinedstorage:network_card.tooltip.2", pos.getZ()));
tooltip.add(I18n.format("misc.refinedstorage:network_card.tooltip", pos.getX(), pos.getY(), pos.getZ()));
}
}

View File

@@ -112,9 +112,7 @@ public class ItemWirelessGrid extends ItemEnergyContainer implements ISpecialEle
}
if (hasValidNBT(stack)) {
tooltip.add(I18n.format("misc.refinedstorage:wireless_grid.tooltip.0", getX(stack)));
tooltip.add(I18n.format("misc.refinedstorage:wireless_grid.tooltip.1", getY(stack)));
tooltip.add(I18n.format("misc.refinedstorage:wireless_grid.tooltip.2", getZ(stack)));
tooltip.add(I18n.format("misc.refinedstorage:wireless_grid.tooltip", getX(stack), getY(stack), getZ(stack)));
}
}