public static void renameItemStack(ItemStack target, String name) { if (target == null) return; Item item = target.getItem(); item.setUnlocalizedName(name); if (item instanceof ItemBlock) { Block.blocksList[((ItemBlock) item).getBlockID()].setUnlocalizedName(name); } }
public Item_Block_Balloon setUnlocalizedName(String unlocal) { super.setUnlocalizedName(unlocal); return this; }