2021-11-22 05:31:02 +02:00
|
|
|
package codechicken.nei.api;
|
|
|
|
|
|
2022-06-24 12:32:13 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
2021-11-22 05:31:02 +02:00
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
2022-01-02 23:30:54 +02:00
|
|
|
import net.minecraftforge.fluids.FluidStack;
|
2021-11-22 05:31:02 +02:00
|
|
|
|
2022-06-24 12:32:13 +01:00
|
|
|
public interface IStackStringifyHandler {
|
2021-11-22 05:31:02 +02:00
|
|
|
|
2022-01-02 23:30:54 +02:00
|
|
|
public NBTTagCompound convertItemStackToNBT(ItemStack stack, boolean saveStackSize);
|
2021-11-22 05:31:02 +02:00
|
|
|
|
|
|
|
|
public ItemStack convertNBTToItemStack(NBTTagCompound nbtTag);
|
|
|
|
|
|
2022-01-02 23:30:54 +02:00
|
|
|
public FluidStack getFluid(ItemStack stack);
|
2022-06-24 12:32:13 +01:00
|
|
|
}
|