Interface CraftingFunction

Function called when the craft is in progress.

  • Parameters

    • api: WorkbenchFieldAPI

      object used to perform simple recipe manipulations and to prevent crafting

    • field: Slot[]

      array containing all slots of the crafting field

    • result: ItemInstance

      recipe result item instance

    • player: number

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.