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 ClassesModifier and TypeClassDescriptionstatic classGiven that a Recipe ispossible, convert into a better form for the Blender.static classCheck if a Recipe (of potentially any RecipeType) can be done in a Blender. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.world.item.crafting.Recipe<?> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()
-