Class CraftRecipeEvent.Post

All Implemented Interfaces:
ICancellableEcsEvent
Enclosing class:
CraftRecipeEvent

public static final class CraftRecipeEvent.Post extends CraftRecipeEvent
An event that is triggered after a recipe is crafted.

If cancelled, the output of the crafting process will not be given.

  • Constructor Details

    • Post

      public Post(@Nonnull CraftingRecipe craftedRecipe, int quantity)
      Default Constructor for a CraftRecipeEvent instance.
      Parameters:
      craftedRecipe - The recipe that was crafted.
      quantity - The quantity of the recipe crafted.