IIngredientSubtypeInterpreter
instead@Deprecated @FunctionalInterface public interface ISubtypeInterpreter extends IIngredientSubtypeInterpreter<net.minecraft.item.ItemStack>, java.util.function.Function<net.minecraft.item.ItemStack,java.lang.String>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NONE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(net.minecraft.item.ItemStack itemStack)
Deprecated.
Get the data from an itemStack that is relevant to telling subtypes apart.
|
default java.lang.String |
apply(net.minecraft.item.ItemStack itemStack,
UidContext context)
Deprecated.
Get the data from an itemStack that is relevant to telling subtypes apart in the given context.
|
@Deprecated static final java.lang.String NONE
IIngredientSubtypeInterpreter.NONE
java.lang.String apply(net.minecraft.item.ItemStack itemStack)
NONE
if there is no data used for subtypes.apply
in interface java.util.function.Function<net.minecraft.item.ItemStack,java.lang.String>
default java.lang.String apply(net.minecraft.item.ItemStack itemStack, UidContext context)
NONE
if there is no data used for subtypes.apply
in interface IIngredientSubtypeInterpreter<net.minecraft.item.ItemStack>