Contents(slot_source, component) slot_sourceSlotSourceThe slots to search.
componentContainerComponentsIf an item targeted by
slot_sourcehas this container component, selects all items inside.
Helpers that build a minecraft:slot_source object, one for each of its types. Where a field takes one, write the helper's call; its
name is the type it makes. Click a type to see what it accepts.
Contents(slot_source, component) slot_sourceSlotSource The slots to search.
componentContainerComponents If an item targeted by slot_source has this container component, selects all items inside.
Empty() SlotRange(slots, source?) slotsstring sourceoptionalEntityTarget | BlockEntityTarget | "container" Defaults to container.