Simplify tooltips
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user