promotional bannermobile promotional banner
premium banner
add command component for Item

Description

Pick Command add a new component called command, value is a string.

the command will be execute on player pick up.

player is the executor, and with 4 level permission.

example:

/give @p diamond[pickcommand.command="give @p iron_sword"]

the item will give a iron_sword to player on pick up.