Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • 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
  • MythicCrucibleMythicCrucible
  • Wiki
    • Skills
    • Conditions
  • custommodeldata

custommodeldata · Changes

Page history
added custommodeldata condition authored Jan 02, 2023 by Phillip's avatar Phillip
Hide whitespace changes
Inline Side-by-side
Showing with 30 additions and 0 deletions
+30 -0
  • Skills/Conditions/custommodeldata.md Skills/Conditions/custommodeldata.md +30 -0
  • No files found.
Skills/Conditions/custommodeldata.md 0 → 100644
View page @ a0c6c069
Condition: custommodeldata
===
Description
---
Tests the custom model data of the item that executed the skill
Attributes
---
| Attribute | Aliases | Description | Default Value |
|:---------:|:-------:|:----------------------------------:|:-------------:|
| model | m | The custom model data to check for | 0 |
Examples
---
```yml
CUSTOM_SKILL:
Conditions:
- custommodeldata{m=1} true
```
```yml
INLINE_EXAMPLE:
Id: STICK
Skills:
- message{m=test} @self ~onSwing ?custommodeldata{m=1}
```
\ No newline at end of file
Clone repository
  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Custom Blocks
  • Furniture
    • Furniture Options
    • Furniture States
  • Crafting Recipes
  • Custom Bags
  • Ammo System / Guns
New Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions