resonant-induction/archive/java/resonantinduction/old/api/coding/IDataItem.java
2014-01-11 17:44:07 +08:00

17 lines
373 B
Java

package resonantinduction.old.api.coding;
import net.minecraft.nbt.NBTTagCompound;
/**
* Used to ID that an item can support saving data to it NBT
*
* @author DarkGuardsman
*/
public interface IDataItem
{
/** Saves the data to the item */
public NBTTagCompound saveData(NBTTagCompound nbt);
/** Gets the data from the item */
public NBTTagCompound getData();
}