Item
A Minecraft item stack with supported metadata.
Declaration
Section titled “Declaration”Choose the type in a Variable/parameter/field type picker. Use the nullable flag only when absence is part of the intended model.
Example
Section titled “Example”StoneItem values are copied for metadata transformations. Inventory-item and block-only material domains differ. Item-ID String inputs are parsed where supported.
Compatibility
Section titled “Compatibility”Required inputs must be assigned and type-compatible. Nullable values require compatible nullable inputs or coalescing. Collection declarations remain invariant; native Targets and custom classes follow their supported inheritance rules. Final controls a binding, not deep immutability.
Variables · Arguments · Collections · Classes · Expressions