Script API - v26.60.25
    Preparing search index...

    Class PlayerCraftRecipeAfterEventBeta

    Contains information regarding a player crafting a recipe.

    export class PlayerCraftRecipeAfterEvent {
    private constructor();
    readonly block?: Block;
    readonly itemStack?: ItemStack;
    readonly player: Player;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    block?: Block

    The block where the recipe was crafted, if applicable.

    This property can't be read in early-execution mode.

    itemStack?: ItemStack

    The item stack crafted by the player.

    This property can't be read in early-execution mode.

    player: Player

    The player who crafted the recipe.

    This property can't be read in early-execution mode.