Skip to content
GitLab
Explore
Sign in
Register
MythicCraft
MythicMobs
Wiki
Skills
Mechanics
consumeslot
consumeslot
· Changes
Page history
Added example for consuming an item from the players equipment slots.
authored
Feb 10, 2023
by
Dante
Show whitespace changes
Inline
Side-by-side
Skills/mechanics/consumeslot.md
View page @
72863c91
...
@@ -19,3 +19,8 @@ Would remove whatever item is in slot 0, or the first slot, of the nearest playe
...
@@ -19,3 +19,8 @@ Would remove whatever item is in slot 0, or the first slot, of the nearest playe
Skills
:
Skills
:
-
consumeslot{slot=0;amount=1} @NearestPlayer{r=10}
-
consumeslot{slot=0;amount=1} @NearestPlayer{r=10}
```
```
Would remove whatever item is in the HAND equipment slot the nearest player's inventory
```
yaml
Skills
:
-
consumeslot{slot=HAND;amount=1} @NearestPlayer{r=10}
```
\ No newline at end of file