/** The tools name with the given material. e.g. "Wooden Pickaxe" */ public String getLocalizedToolName(Material material) { return material.getLocalizedItemName(getLocalizedToolName()); }
toolInfo.setCaption(tool.getLocalizedToolName()); toolInfo.setText(tool.getLocalizedDescription());