Skip to main content

Unordered Bag Ingredient

The unorderedbag ingredient requires block ingredients from a bag without strict order.

This is a premium ingredient.

Example

ingredients:
blocks:
type: unorderedbag
ingredients:
A: GLOWSTONE
B: AMETHYST_BLOCK
bag: "AB"
consume: true

In this case, the structure can provide the required materials without needing the exact order used by bag.

Fields

FieldTypeDescription
ingredientsSectionCharacter-to-material legend.
bagTextRequired material pattern.
consumeBooleanWhether matching blocks are consumed.

When to use

Use unorderedbag when players should be allowed to place the required materials in any valid order.