package com.techern.minecraft.igneousextras.items;

import net.minecraft.block.Block;
import net.minecraft.item.EnumDyeColor;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;

/**
 * An extension of {@link ItemBlock} for {@link net.minecraft.block.BlockColored} implementations
 *
 * @since 0.0.1
 */
public class ItemColoredBlock extends ItemBlock {

    /**
     * Creates a new {@link ItemColoredBlock}
     *
     * @param block The {@link Block} being used
     * @since 0.0.1
     */
    public ItemColoredBlock(Block block)
    {
        super(block);
        this.setMaxDamage(0);
        this.setHasSubtypes(true);
    }

    /**
     * Provides a metadata value for the corresponding damage value
     *
     * @since 0.0.1
     */
    public int getMetadata(int damage)
    {
        return damage;
    }

    /**
     * Gets the unlocalized name for the provided {@link ItemStack}, changing based on the provided color
     *
     * @since 0.0.1
     */
    public String getUnlocalizedName(ItemStack stack)
    {
        return super.getUnlocalizedName() + "." + EnumDyeColor.byMetadata(stack.getMetadata()).getUnlocalizedName();
    }

}

@@ -760,24 +760,35 @@
      */%0A    
+@Override%0A%09
 public int g
@@ -995,24 +995,35 @@
      */%0A    
+@Override%0A%09
 public Strin

Add Override-annotation