Class ServerRemoveRecipesKubeEvent

java.lang.Object
dev.latvian.mods.kubejs.recipe.viewer.server.ServerRemoveRecipesKubeEvent
All Implemented Interfaces:
KubeEvent, RemoveRecipesKubeEvent

public class ServerRemoveRecipesKubeEvent extends Object implements RemoveRecipesKubeEvent
  • 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:
      remove in interface RemoveRecipesKubeEvent
    • removeFromCategory

      public void removeFromCategory(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable net.minecraft.resources.ResourceLocation category, net.minecraft.resources.ResourceLocation[] recipesToRemove)
      Specified by:
      removeFromCategory in interface RemoveRecipesKubeEvent