|
|
## Description
|
|
|
Gives the caster an item while playing the pickup-item animation from the target entity or location when fakelooting is set to true.
|
|
|
|
|
|
Gives the caster an item from the target entity or location when fakelooting is set to false.
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| item | items, i | The item material (supports for mythicmobs item) |<!--type:Item-->|
|
|
|
| fakeLooting | dofakelooting, fl | plays the pickup-item animation from the target | true |
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- giveitem{i=diamond_sword;a=1} @PIR{r=20} ~onSpawn
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] givefromtarget
|
|
|
- [x] giveitemsfromtarget
|
|
|
- [x] itemgivefromtarget
|
|
|
|
|
|
|
|
|
<!--TAGS-->
|
|
|
<!--tag:Inventory-->
|
|
|
<!--tag:Item--> |
|
|
\ No newline at end of file |