Item
A property type for storing a Minecraft item, including custom items.
The Item property type allows you to store an entire ItemStack as a value. This includes its material, amount, name, lore, enchantments, and any other custom data.
- Default Value:
null(empty)
Common Use Cases
- Storing the item a player is holding to check it later.
- Creating a "shop" system where a property holds the "item of the day".
- A puzzle where a player must place a specific, named item on a pedestal.
- Storing a player's weapon so it can be upgraded.
Operators (in Change Property action)
- Set: Sets the property to a specific item. You can define the item using the full Item Builder menu or select a pre-made Custom Item.
Checks (in Property Condition)
- Equals: Checks if the stored item is the same as another item.
- If either item is a Custom Item, it checks if they are the same custom item.
- Otherwise, it checks for a general match (material, name, etc.).