Craftengine Give Item Action
Give a CraftEngine item to the player
Fields
| Field | Type | Default | Description |
|---|---|---|---|
itemId | Var<String> | — | The custom item ID to give (e.g., 'namespace:item_id'). |
amount | Var<Int> | 1 | How many items to give. |
dropOverflow | Boolean | true | Drop whatever does not fit at the player's feet instead of discarding it. |
Common TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |