package edx.core.resource.content import edx.core.Reference import edx.core.resource.alloy.{AlloyUtility, TAlloyItem} import net.minecraft.item.{Item, ItemStack} /** * An alloy dust is a dust that contains mixed metals * TODO: Considering combining the alloy with the non-alloy dusts via NBT * @author Calclavia */ class ItemAlloyDust extends Item with TAlloyItem { //TODO: Check creative tab correctness //setCreativeTab(null) setTextureName(Reference.prefix + "oreDust") setUnlocalizedName(Reference.prefix + "alloyDust") override def getColorFromItemStack(itemStack: ItemStack, p_82790_2_ : Int): Int = AlloyUtility.getAlloy(itemStack).color }