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
    • Conditions
  • holding

holding · Changes

Page history
you're welcome lonelywarrior <3 authored Dec 27, 2023 by Amy's avatar Amy
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 3 deletions
+8 -3
  • Skills/conditions/holding.md Skills/conditions/holding.md +8 -3
  • No files found.
Skills/conditions/holding.md
View page @ a5e423d0
...@@ -6,12 +6,17 @@ Checks if the target is holding a given material ...@@ -6,12 +6,17 @@ Checks if the target is holding a given material
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| material | m, type, t| A material or MythicItem internal id to check for | | | material | m, type, t| A material, MythicItem or MMOItems internal id to check for | |
## Examples ## Examples
```yaml ```yaml
# Make sure you use all caps for materials, otherwise the console will say it is not a valid material! # Make sure you use all caps for materials, otherwise the console will say it is not a valid material!
Conditions: Conditions:
- holding{m=DIAMOND_SWORD} true - holding{m=DIAMOND_SWORD} true
```
This is an example of using an item from MMOItems. mmoitems.category.item
```yaml
Conditions:
- holding{m=mmoitems.TOOL.PICKAXE_5} true
``` ```
\ 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
  • Pins
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
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips