2021-11-22 05:31:02 +02:00
|
|
|
package codechicken.nei.api;
|
|
|
|
|
|
2025-06-22 18:49:20 +03:00
|
|
|
import java.util.Optional;
|
|
|
|
|
|
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
|
|
|
|
2025-06-22 18:49:20 +03:00
|
|
|
default NBTTagCompound convertItemStackToNBT(ItemStack stack, boolean saveStackSize) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
default ItemStack convertNBTToItemStack(NBTTagCompound nbtTag) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
default FluidStack getFluid(ItemStack stack) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
2021-11-22 05:31:02 +02:00
|
|
|
|
2025-06-22 18:49:20 +03:00
|
|
|
default Optional<ItemStack> getContainerItem(ItemStack stack) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
2021-11-22 05:31:02 +02:00
|
|
|
|
2022-06-24 12:32:13 +01:00
|
|
|
}
|