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 151
    • Issues 151
    • 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
    • Troubleshooting
  • ModelEngine Model Vanishes

ModelEngine Model Vanishes · Changes

Page history
Update ModelEngine Model Vanishes authored May 18, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 3 additions and 4 deletions
+3 -4
  • Troubleshooting/ModelEngine-Model-Vanishes.md Troubleshooting/ModelEngine-Model-Vanishes.md +3 -4
  • No files found.
Troubleshooting/ModelEngine-Model-Vanishes.md
View page @ afe7dd03
If your ModelEngine model vanishes on a server restart, or when you leave the area the mob is in, you need to make sure the Model is applied when the mob loads, not just when it spawns.
If your ModelEngine model vanishes on a server restart, or when you leave the area the mob is in, you need to make sure the Model has the `save` attribute set to true
Your current mob file may have a line like the following:
```yaml
......@@ -6,9 +6,8 @@ Skills:
- model{m=Duck;n=name} @self ~onSpawn
```
You can solve the issue by copying your Model mechanic, and changing onSpawn to onLoad. You must keep both in the file, the outcome is the following:
While you can solve the issue by adding the following:
```yaml
Skills:
- model{m=Duck;n=name} @self ~onSpawn
- model{m=Duck;n=name} @self ~onLoad
- model{m=Duck;n=name;save=true} @self ~onSpawn
```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Guides
Troubleshooting
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
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
  • Equipment Slots
  • Intratick Scheduling
Examples
Useful Tips