Class ServerRemoveRecipesKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.recipe.viewer.server.ServerRemoveRecipesKubeEvent
- All Implemented Interfaces:
KubeEvent,RemoveRecipesKubeEvent
-
Constructor Summary
ConstructorsConstructorDescriptionServerRemoveRecipesKubeEvent(Set<net.minecraft.resources.ResourceLocation> global, Map<net.minecraft.resources.ResourceLocation, CategoryData> categoryData) -
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
-
ServerRemoveRecipesKubeEvent
public ServerRemoveRecipesKubeEvent(Set<net.minecraft.resources.ResourceLocation> global, Map<net.minecraft.resources.ResourceLocation, CategoryData> categoryData)
-
-
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
-