Class JEIRemoveRecipesKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.integration.jei.JEIRemoveRecipesKubeEvent
- All Implemented Interfaces:
KubeEvent,RemoveRecipesKubeEvent
-
Constructor Summary
ConstructorsConstructorDescriptionJEIRemoveRecipesKubeEvent(mezz.jei.api.recipe.IRecipeManager recipeManager, Map<net.minecraft.resources.ResourceLocation, mezz.jei.api.recipe.category.IRecipeCategory<?>> categories) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPosted(EventResult result) voidremove(dev.latvian.mods.rhino.Context cx, net.minecraft.resources.ResourceLocation[] recipesToRemove) voidremoveFromCategory(dev.latvian.mods.rhino.Context cx, @Nullable net.minecraft.resources.ResourceLocation category, net.minecraft.resources.ResourceLocation[] recipesToRemove) 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
cancel, cancel, defaultExitValue, exit, exit, getExitValueType, mapExitValue, success, success
-
Constructor Details
-
JEIRemoveRecipesKubeEvent
public JEIRemoveRecipesKubeEvent(mezz.jei.api.recipe.IRecipeManager recipeManager, Map<net.minecraft.resources.ResourceLocation, mezz.jei.api.recipe.category.IRecipeCategory<?>> categories)
-
-
Method Details
-
remove
public void remove(dev.latvian.mods.rhino.Context cx, net.minecraft.resources.ResourceLocation[] recipesToRemove) - Specified by:
removein interfaceRemoveRecipesKubeEvent
-
removeFromCategory
public void removeFromCategory(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable net.minecraft.resources.ResourceLocation category, net.minecraft.resources.ResourceLocation[] recipesToRemove) - Specified by:
removeFromCategoryin interfaceRemoveRecipesKubeEvent
-
afterPosted
- Specified by:
afterPostedin interfaceKubeEvent
-