has_inventory_space

Passes when the player has at least one free slot across the checked slot types.

Categories: player

Optional arguments

Key(s)DescriptionTypeDefault
include_armor_slotsWhether to count empty armor slots as free space. Defaults to true.BOOLEANtrue
include_offhandWhether to count an empty offhand slot as free space. Defaults to true.BOOLEANtrue

Example

conditions:
  - id: has_inventory_space
    args:
      include_armor_slots: true # ← Optional
      include_offhand: true # ← Optional