Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
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
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Skills/mechanics/consumeslot.md
Skills/mechanics/consumeslot.md
+5
-0
No files found.
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