Files
TinkersConstruct/src/mods/battlegear2/api/IDyable.java
T
Zerokyuuni f1473dc42f BG Compat
Changelog:
Updated the compat for the changed api
Paladins with hammers and shields, ho!
2013-12-06 18:26:57 -05:00

32 lines
701 B
Java

package mods.battlegear2.api;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
//This is a tempory fix until we get the heradry system up and running
public interface IDyable {
/**
* Return whether the specified ItemStack has a color.
*/
public boolean hasColor(ItemStack par1ItemStack);
/**
* Return the color for the specified ItemStack.
*/
public int getColor(ItemStack par1ItemStack);
public void setColor(ItemStack dyable, int rgb);
/**
* Remove the color from the specified ItemStack.
*/
public void removeColor(ItemStack par1ItemStack);
public int getDefaultColor(ItemStack par1ItemStack);
}