Ejemplo n.º 1
0
 @Override
 protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
   super.drawGuiContainerForegroundLayer(mouseX, mouseY);
   String name = StringUtil.localize("tile.for." + tile.getInventoryName());
   this.fontRendererObj.drawString(name, getCenteredOffset(name), 6, fontColor.get("gui.title"));
 }