ItemComponent - Container (Expression) — SkBee

Addon: SkBee · Category: Expression

Syntax

container component [items] of %itemstacks/itemtypes/slots%

Description

Represents the container component of an item, providing access to its contents. You can add items, remove items, delete the component, go nuts. See [**Container Component**](https://minecraft.wiki/w/Data_component_format#container) on McWiki for more details.

**Changers**: - SET = Sets the container component to a specific set of items. - ADD = Adds items to the container component. - REMOVE = Removes items from the container component. - DELETE = Deletes the container component from the item. - RESET = Resets the container component to its default state.

View source