Class JEIRegisterSubtypesKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.integration.jei.JEIRegisterSubtypesKubeEvent
- All Implemented Interfaces:
KubeEvent,RegisterSubtypesKubeEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionJEIRegisterSubtypesKubeEvent(RecipeViewerEntryType type, mezz.jei.api.ingredients.IIngredientTypeWithSubtypes<?, ?> ingredientType, mezz.jei.api.registration.ISubtypeRegistration registration) -
Method Summary
Modifier and TypeMethodDescriptionvoidregister(dev.latvian.mods.rhino.Context cx, Object filter, SubtypeInterpreter interpreter) voiduseComponents(dev.latvian.mods.rhino.Context cx, Object filter, List<net.minecraft.core.component.DataComponentType<?>> components) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.event.KubeEvent
afterPosted, cancel, cancel, defaultExitValue, exit, exit, getExitValueType, mapExitValue, success, successMethods inherited from interface dev.latvian.mods.kubejs.recipe.viewer.RegisterSubtypesKubeEvent
useComponents
-
Constructor Details
-
JEIRegisterSubtypesKubeEvent
public JEIRegisterSubtypesKubeEvent(RecipeViewerEntryType type, mezz.jei.api.ingredients.IIngredientTypeWithSubtypes<?, ?> ingredientType, mezz.jei.api.registration.ISubtypeRegistration registration)
-
-
Method Details
-
register
public void register(dev.latvian.mods.rhino.Context cx, Object filter, SubtypeInterpreter interpreter) - Specified by:
registerin interfaceRegisterSubtypesKubeEvent
-
useComponents
public void useComponents(dev.latvian.mods.rhino.Context cx, Object filter, List<net.minecraft.core.component.DataComponentType<?>> components) - Specified by:
useComponentsin interfaceRegisterSubtypesKubeEvent
-