mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-07-15 00:04:26 +00:00
88de097c1c
This allows for other items, such as turtles, to be dyed in the future. This also adds support for the ore dictionary, meaning you can use other mod's dyes to colour items.
11 lines
213 B
Java
11 lines
213 B
Java
package dan200.computercraft.shared.common;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public interface IColouredItem
|
|
{
|
|
int getColour( ItemStack stack );
|
|
|
|
ItemStack setColour( ItemStack stack, int colour );
|
|
}
|