has_crafts_remaining

Passes when the player can still craft the given custom recipe under its craft limits.

Categories: crafting

Required arguments

Key(s)DescriptionType
recipeThe ID of the custom recipe to check.STRING

Optional arguments

Key(s)DescriptionTypeDefault
amountThe minimum number of crafts that must remain.INT1

Example

conditions:
  - id: has_crafts_remaining
    args:
      recipe: epic_sword
      amount: 1 # ← Optional