package joshie.harvestmoon.blocks.items;

import joshie.harvestmoon.blocks.BlockCookware;
import joshie.harvestmoon.core.util.base.ItemBlockBase;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;

public class ItemBlockCookware extends ItemBlockBase {
    public ItemBlockCookware(Block block) {
        super(block);
    }

    @Override
    public String getName(ItemStack stack) {
        switch (stack.getItemDamage()) {
            case BlockCookware.FRIDGE:
                return "fridge";
            case BlockCookware.KITCHEN:
                return "kitchen";
            case BlockCookware.POT:
                return "pot";
            case BlockCookware.FRYING_PAN:
                return "frying.pan";
            case BlockCookware.MIXER:
                return "mixer";
            case BlockCookware.OVEN:
                return "oven";
            case BlockCookware.STEAMER:
                return "steamer";
            case BlockCookware.FRIDGE_TOP:
                return "fridge.top";
            case BlockCookware.BAKING_GLASS:
                return "baking";
            case BlockCookware.CHOPPING_BOARD:
                return "chopping_board";
            case BlockCookware.MIXING_BOWL:
                return "mixing_bowl";
            default:
                return "invalid";
        }
    }
}

@@ -1027,256 +1027,8 @@
 p%22;%0A
-            case BlockCookware.BAKING_GLASS:%0A                return %22baking%22;%0A            case BlockCookware.CHOPPING_BOARD:%0A                return %22chopping_board%22;%0A            case BlockCookware.MIXING_BOWL:%0A                return %22mixing_bowl%22;%0A
     

Remove ..