mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
Changelog: Updated the compat for the changed api Paladins with hammers and shields, ho!
32 lines
701 B
Java
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);
|
|
|
|
|
|
}
|