Class BlenderRecipeEvent.Convert

java.lang.Object
net.neoforged.bus.api.Event
com.petrolpark.compat.create.common.processing.blender.BlenderRecipeEvent
com.petrolpark.compat.create.common.processing.blender.BlenderRecipeEvent.Convert
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
BlenderRecipeEvent

public static class BlenderRecipeEvent.Convert extends BlenderRecipeEvent
Given that a Recipe is possible, convert into a better form for the Blender. Fired on NeoForge event bus.
  • Field Details

    • converted

      protected Optional<net.minecraft.world.item.crafting.Recipe<?>> converted
  • Constructor Details

    • Convert

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

    • getConverted

      public Optional<net.minecraft.world.item.crafting.Recipe<?>> getConverted()
    • convertTo

      public void convertTo(net.minecraft.world.item.crafting.Recipe<?> recipe)