Class BlenderRecipeEvent

java.lang.Object
net.neoforged.bus.api.Event
com.petrolpark.compat.create.common.processing.blender.BlenderRecipeEvent
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Direct Known Subclasses:
BlenderRecipeEvent.Convert, BlenderRecipeEvent.IsPossible

public abstract class BlenderRecipeEvent extends net.neoforged.bus.api.Event implements net.neoforged.bus.api.ICancellableEvent
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Given that a Recipe is possible, convert into a better form for the Blender.
    static class 
    Check if a Recipe (of potentially any RecipeType) can be done in a Blender.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.item.crafting.Recipe<?>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlenderRecipeEvent(net.minecraft.world.item.crafting.Recipe<?> recipe)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.crafting.Recipe<?>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.neoforged.bus.api.ICancellableEvent

    isCanceled, setCanceled
  • Field Details

    • recipe

      protected final net.minecraft.world.item.crafting.Recipe<?> recipe
  • Constructor Details

    • BlenderRecipeEvent

      public BlenderRecipeEvent(net.minecraft.world.item.crafting.Recipe<?> recipe)
  • Method Details

    • getRecipe

      public net.minecraft.world.item.crafting.Recipe<?> getRecipe()