v2.14.0
Bug fixes and more enhancements to support NerdNu/DragonFight:
API changes:
- Expose some more common code in the Util class as API.
DropSet.chooseOneDrop()
now never returns null; can returnDrop.NOTHING
.- Add DropSet rename-copy constructor.
Features:
-
Add
slime-can-split
property to allow non-slitting slimes. -
Adjust hurt teleport to get mobs out from under roofs better.
-
Support
restricted
drops (item drops only), that can only precipitated by the player. By default, allitem
drops are restricted, but you can make individual item drops non-restricted to say that they will drop even if the player did not damage the mob. The relevant command syntax is:/beast-loot restricted loot-table-id drop-id true
Bug fixes:
- Fix bug in inheritance of
drops
property. - Configure mobs with the
DEFAULT
spawn reason, EnderDragon in particular. - Ensure that slimes spawned by split have a MobType.
- Prevent mobs from damaging their friends.
- Fix NPE checking friend groups on mobs.
- Play hurt sounds only after projectile immunity is considered.
- Adjust support mob spawn location.
- Fix
plugin.yml
asserting a database is required.