Class RecipeBookItemSubtypeInterpreter
java.lang.Object
petrolpark.mc.library.compat.jei.subtypeInterpreter.RecipeBookItemSubtypeInterpreter
- All Implemented Interfaces:
mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter<net.minecraft.world.item.ItemStack>
@ParametersAreNonnullByDefault
public class RecipeBookItemSubtypeInterpreter
extends Object
implements mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter<net.minecraft.world.item.ItemStack>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLegacyStringSubtypeInfo(net.minecraft.world.item.ItemStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context) @Nullable net.minecraft.resources.ResourceLocationgetSubtypeData(net.minecraft.world.item.ItemStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RecipeBookItemSubtypeInterpreter
public RecipeBookItemSubtypeInterpreter()
-
-
Method Details
-
getSubtypeData
@Nullable public @Nullable net.minecraft.resources.ResourceLocation getSubtypeData(net.minecraft.world.item.ItemStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context) - Specified by:
getSubtypeDatain interfacemezz.jei.api.ingredients.subtypes.ISubtypeInterpreter<net.minecraft.world.item.ItemStack>
-
getLegacyStringSubtypeInfo
public String getLegacyStringSubtypeInfo(net.minecraft.world.item.ItemStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context) - Specified by:
getLegacyStringSubtypeInfoin interfacemezz.jei.api.ingredients.subtypes.ISubtypeInterpreter<net.minecraft.world.item.ItemStack>
-