@Override
public void initialiseClient() {
this.setTitle(Machine.getMachine(this.getInventory()).getPackage().getDisplayName());
new ControlPlayerInventory(this);
new ControlSlot.Builder(this, 79, 30).assign(0);
new ControlText(this, new Area(0, 52, getWidth(), 16), "Possible Mutagens:", TextJustification.MIDDLE_CENTER).setColor(5592405);
final int size = AlvearyMutationHandler.getMutagens().size();
final int w = size * 18;
NumberFormat numberFormat = NumberFormat.getNumberInstance(MinecraftForgeClient.getLocale());
if (size > 0) {
int x = (getWidth() - w) / 2;
for (final Pair<ItemStack, Float> mutagen : AlvearyMutationHandler.getMutagens()) {
final ControlItemDisplay display = new ControlItemDisplay(this, x, 66);
display.setItemStack(mutagen.getKey());
display.setTooltip();
Float multiplier = mutagen.getValue();
String format = numberFormat.format(multiplier);
display.addTooltip(TextFormatting.GRAY + "Multiplier: " + format + "x");
x += 18;
}
}
}