Example #1
0
 @Override
 public String getDescription() {
   return StringUtil.localize(uid + ".description");
 }
Example #2
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"));
 }
Example #3
0
 @Override
 public String getName() {
   return StringUtil.localize(uid);
 }
Example #4
0
 @Override
 protected String getLegacyTooltip(EntityPlayer player) {
   return StringUtil.localize("gui.worktable.clear");
 }