@Override
  public int getColorFromItemStack(ItemStack par1ItemStack, int par2) {
    if (par2 == 0) return super.getColorFromItemStack(par1ItemStack, par2);

    Element element = Element.class.getEnumConstants()[par1ItemStack.getItemDamage()];
    float bright =
        (float)
            Math.cos(
                (double) ClientTickHandler.elapsedClientTicks
                    / (double) ResourcesReference.BRIGHTNESS_DIVISOR_WAND);
    return Color.HSBtoRGB(
        element.getHue() / 360F,
        1F,
        ConfigurationHandler.wandFlicker ? Math.max(0.2F, (bright + 1F) / 2F) : 0.9F);
  }
 public static String nameFromMeta(int meta) {
   return ItemNames.WAND_NAME_PREFIX
       + Element.getSuffix(meta)
       + " (NYI)"; // VAZ_TODO Remove NYI Flag
 }