Class REIRemoveRecipeKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.integration.rei.REIRemoveRecipeKubeEvent
- All Implemented Interfaces:
KubeEvent,RemoveRecipesKubeEvent
-
Constructor Summary
ConstructorsConstructorDescriptionREIRemoveRecipeKubeEvent(Map<me.shedaniel.rei.api.common.category.CategoryIdentifier<?>, Collection<net.minecraft.resources.ResourceLocation>> recipesRemoved) -
Method Summary
Modifier and TypeMethodDescriptionvoidremove(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
afterPosted, cancel, cancel, defaultExitValue, exit, exit, getExitValueType, mapExitValue, success, success
-
Constructor Details
-
REIRemoveRecipeKubeEvent
public REIRemoveRecipeKubeEvent(Map<me.shedaniel.rei.api.common.category.CategoryIdentifier<?>, Collection<net.minecraft.resources.ResourceLocation>> recipesRemoved)
-
-
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
-