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 136
    • Issues 136
    • 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

Last edited by Lxlp Nov 29, 2024
Page history
This is an old version of this page. You can view the most recent version or browse the history.

consumeslot

Mechanic: ConsumeSlot

Removes an item from a specific slot of the player's inventory.

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

Examples

Would remove whatever item is in slot 0, or the first slot, of the nearest player's inventory

Skills:
  - consumeslot{slot=0;amount=1} @NearestPlayer{r=10}

Would remove whatever item is in the HAND equipment slot the nearest player's inventory

Skills:
  - consumeslot{slot=HAND;amount=1} @NearestPlayer{r=10}
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples