Give
Information | |
---|---|
Type | Entity Function |
Namespace | moxlib:api/helpers/inventory/give |
Versions | 1.17+ |
Overview
Gives the executing player an item from data.
Example
data modify storage moxlib:api/helpers/inventory/give target set value {id:"minecraft:dirt"}
execute as Steve run function moxlib:api/helpers/inventory/give
API
Expects
- Item Object
target