Class DeployerRecipeSearchEvent

java.lang.Object
net.neoforged.bus.api.Event
com.simibubi.create.content.kinetics.deployer.DeployerRecipeSearchEvent
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent

public class DeployerRecipeSearchEvent extends net.neoforged.bus.api.Event implements net.neoforged.bus.api.ICancellableEvent
  • Constructor Details

    • DeployerRecipeSearchEvent

      public DeployerRecipeSearchEvent(DeployerBlockEntity blockEntity, net.neoforged.neoforge.items.wrapper.RecipeWrapper inventory)
  • Method Details

    • getBlockEntity

      public DeployerBlockEntity getBlockEntity()
    • getInventory

      public net.neoforged.neoforge.items.wrapper.RecipeWrapper getInventory()
    • shouldAddRecipeWithPriority

      public boolean shouldAddRecipeWithPriority(int priority)
    • getRecipe

      @Nullable public @Nullable net.minecraft.world.item.crafting.RecipeHolder<? extends net.minecraft.world.item.crafting.Recipe<? extends net.minecraft.world.item.crafting.RecipeInput>> getRecipe()
    • addRecipe

      public void addRecipe(Supplier<Optional<? extends net.minecraft.world.item.crafting.RecipeHolder<? extends net.minecraft.world.item.crafting.Recipe<? extends net.minecraft.world.item.crafting.RecipeInput>>>> recipeSupplier, int priority)