Class RestaurantMenuItemSubtypeInterpreter
java.lang.Object
petrolpark.mc.library.compat.jei.subtypeInterpreter.RestaurantMenuItemSubtypeInterpreter
- All Implemented Interfaces:
mezz.jei.api.ingredients.subtypes.ISubtypeInterpreter<net.minecraft.world.item.ItemStack>
@ParametersAreNonnullByDefault
public class RestaurantMenuItemSubtypeInterpreter
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.core.Holder<Restaurant> getSubtypeData(net.minecraft.world.item.ItemStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RestaurantMenuItemSubtypeInterpreter
public RestaurantMenuItemSubtypeInterpreter()
-
-
Method Details
-
getSubtypeData
@Nullable public @Nullable net.minecraft.core.Holder<Restaurant> 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>
-