Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 137
    • Issues 137
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Mechanics
  • consumeslot

consumeslot · Changes

Page history
reverted dante authored Oct 23, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 10 additions and 12 deletions
+10 -12
  • Skills/mechanics/consumeslot.md Skills/mechanics/consumeslot.md +10 -12
  • No files found.
Skills/mechanics/consumeslot.md
View page @ 7d3a72ae
================= ## Description
Removes an item from a specific slot of the player's inventory. Removes an item from a specific slot of the player's inventory.
Attributes
----------
| Attribute | Aliases | Description | Default | ## Attributes
|-----------|---------|----------------------------------------------------------------------------------------|---------| | Attribute | Aliases | Description | Default |
| slot | s | The inventory slot to remove the item from. Accepts Slots 0 to 35, or equipment slots. | HAND | |-----------|-----------|----------------------------------------------------------------------|---------|
| amount | a | The amount of items to remove | 1 | | slot | s | The inventory slot to remove the item from. Accepts Slots 0 to 35, or equipment slots. | HAND |
| amount | a | The amount of items to remove | 1 |
Examples
--------
## Examples
Would remove whatever item is in slot 0, or the first slot, of the nearest player's inventory Would remove whatever item is in slot 0, or the first slot, of the nearest player's inventory
```yaml ```yaml
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 Would remove whatever item is in the HAND equipment slot the nearest player's inventory
```yaml ```yaml
Skills: Skills:
- consumeslot{slot=HAND;amount=1} @NearestPlayer{r=10} - consumeslot{slot=HAND;amount=1} @NearestPlayer{r=10}
``` ```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips