package com.laytonsmith.abstraction.enums.bukkit;

import com.laytonsmith.abstraction.Implementation;
import com.laytonsmith.abstraction.enums.EnumConvertor;
import com.laytonsmith.abstraction.enums.MCDyeColor;
import com.laytonsmith.annotations.abstractionenum;
import org.bukkit.DyeColor;

@abstractionenum(
		implementation = Implementation.Type.BUKKIT,
		forAbstractEnum = MCDyeColor.class,
		forConcreteEnum = DyeColor.class
)
public class BukkitMCDyeColor extends EnumConvertor<MCDyeColor, DyeColor> {

	private static com.laytonsmith.abstraction.enums.bukkit.BukkitMCDyeColor instance;

	public static com.laytonsmith.abstraction.enums.bukkit.BukkitMCDyeColor getConvertor() {
		if(instance == null) {
			instance = new com.laytonsmith.abstraction.enums.bukkit.BukkitMCDyeColor();
		}
		return instance;
	}
}

package com.laytonsmith.abstraction.enums.bukkit;

import com.laytonsmith.abstraction.Implementation;
import com.laytonsmith.abstraction.enums.EnumConvertor;
import com.laytonsmith.abstraction.enums.MCDyeColor;
import com.laytonsmith.annotations.abstractionenum;
import org.bukkit.DyeColor;

@abstractionenum(
		implementation = Implementation.Type.BUKKIT,
		forAbstractEnum = MCDyeColor.class,
		forConcreteEnum = DyeColor.class
)
public class BukkitMCDyeColor extends EnumConvertor<MCDyeColor, DyeColor> {

	private static com.laytonsmith.abstraction.enums.bukkit.BukkitMCDyeColor instance;

	public static com.laytonsmith.abstraction.enums.bukkit.BukkitMCDyeColor getConvertor() {
		if(instance == null) {
			instance = new com.laytonsmith.abstraction.enums.bukkit.BukkitMCDyeColor();
		}
		return instance;
	}

	@Override
	protected MCDyeColor getAbstractedEnumCustom(DyeColor concrete) {
		if(concrete.equals(DyeColor.LIGHT_GRAY)) {
			return MCDyeColor.SILVER;
		}
		return super.getAbstractedEnumCustom(concrete);
	}

	@Override
	protected DyeColor getConcreteEnumCustom(MCDyeColor abstracted) {
		if(abstracted.equals(MCDyeColor.SILVER)) {
			return DyeColor.LIGHT_GRAY;
		}
		return super.getConcreteEnumCustom(abstracted);
	}
}

Convert changed Bukkit DyeColor