Inventory Condition
Description
Checks a for inventory slots and puts the first itemstack into a variable. Fails if we can’t find a single inventory slot from all targets.
Fields
Name | Type | Description | Additional Info |
---|---|---|---|
type |
String | Internal ID for serialisation: inventory |
Not seen in the Editor. |
target |
String | Target selector string to target. | |
index |
String | Index in the inventory to look for. | |
variableName |
String | Variable name to put the result into. |
-
Fields in italics are required for the Object to be valid. ↩