Package com.simibubi.create.compat.jei
Class PotionFluidSubtypeInterpreter
java.lang.Object
com.simibubi.create.compat.jei.PotionFluidSubtypeInterpreter
- All Implemented Interfaces:
mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>
public class PotionFluidSubtypeInterpreter
extends Object
implements mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>
-
Field Summary
Fields inherited from interface mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter
NONE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PotionFluidSubtypeInterpreter
public PotionFluidSubtypeInterpreter()
-
-
Method Details
-
apply
public String apply(net.minecraftforge.fluids.FluidStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context) Description copied from interface:mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreterGet the data from an ingredient that is relevant to telling subtypes apart in the given context. This should account for nbt, and anything else that's relevant.UidContextcan be used to give different subtype information depending on the given context. Most cases will return the same value for all contexts and it can usually be ignored. ReturnIIngredientSubtypeInterpreter.NONEif there is no data used for subtypes.- Specified by:
applyin interfacemezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>
-