- Fixed lag issues from ProtocolLib/ removed PL features since they aren't really relevant anymore
- Fixed &r
- Fixed shields always having a banner
- Fixed placeholders in skill cooldowns
- Fixed NPE with mob spawners
- Fixed mobs doing damage even if damage is set to 0
- Fixed oxygen mechanic running async
- Fixed taming mobs with Options.Tameable: false set
- Fixed trigger not passing in onAttack aura
- Fixed trigger not passing in onDamaged aura
5.0.2
=====
Bug Fixes/Other
- Fixed several major compatibility issues
5.0.1 (Beta Build)
======
Highlights
----------
- Now requires Java 16
- Mythic API being separated out into an independent module (for add-on authors)
- Major API rewrite
- Registering custom triggers
- Native model configuration for ModelEngine
- MythicKeys mod support
General
-------
### Model Configuration
You can now configure ModelEngine models inside your mob.
```
Mob:
Model: [model id]
```
or with more options...
```
Mob:
Model:
Id: [model id]
ViewRadius: 64
Drive: true
DamageTint: true
```
etc...
Conditions
----------
### NEW: isFrozen
- Tests if the targeted entity is frozen
Targeters
---------
Mechanics
---------
### NEW: onKeyPress
- Requires [MythicKeys mod](https://github.com/ASangarin/MythicKeys) for the client and [MythicKeysPlugin](https://www.spigotmc.org/resources/mythickeysplugin-custom-keybinds-api.98893/) for the server.
- Applies an aura to the targeted player and triggers a skill when the targeted player presses a key
- Requires [MythicKeys mod](https://github.com/ASangarin/MythicKeys) for the client and [MythicKeysPlugin](https://www.spigotmc.org/resources/mythickeysplugin-custom-keybinds-api.98893/) for the server.
- Applies an aura to the targeted player and triggers a skill when the targeted player releases a key
- Breaks the target player's shield block and disables their shield for `duration` ticks.
### PasteSchematic
- Changed fawePaste to PasteSchematic, now works with regular WorldEdit
- Added rotation=90/180/-90 to fawepaste mechanic
Bug Fixes/Other
--------
- Fixed mob drops on non-paper spigot
- Fixed onHitSkill for shoot mechanic not inheriting skill variables, closes #687
- Added `min(x, y)`, `max(x, y)`, `atan2(y, x)` math functions. You can see all the supported operators and functions in [Math](/Skills/Math), and you can make suggestions to add more operators and functions to [gitlab](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/issues)
- Fixed several mob AIs. closes #681
- Fixed NPE with WorldGuard support
- Fixed disguises sometimes not disappearing on mob removal