Mechanic: Give Item
Gives an item to the target
Attributes
Attribute | Aliases | Description | Default Value |
---|---|---|---|
item | i | The item material (supports for mythicmobs item) | |
fakeLooting | fl | plays the pickup-item animation from the origin | false |
Note:
this mechanic doesn't do anything when there is no space in targeted target's inventory.
fakeLooting was added in 4.12 MM and it makes the item being given show up on the screen and fly toward the players inventory like when a player picks an item up off of the ground.
Examples
Skills:
- giveitem{i=diamond_sword} @PIR{r=20} ~onSpawn
- ...