public class FluidSubtypeHandlerTest extends java.lang.Object implements IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>
NONE
Constructor and Description |
---|
FluidSubtypeHandlerTest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(net.minecraftforge.fluids.FluidStack fluidStack,
UidContext context)
Get the data from an ingredient that is relevant to telling subtypes apart in the given context.
|
public java.lang.String apply(net.minecraftforge.fluids.FluidStack fluidStack, UidContext context)
IIngredientSubtypeInterpreter
UidContext
can 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.
Return IIngredientSubtypeInterpreter.NONE
if there is no data used for subtypes.apply
in interface IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>