Make the bone-to-pet-wolf transformation item customizable.

A new section in global-settings called pet-items is used to define pet item transformation items. By default, bones are transformed into wolves, but the item type can now be changed to support using actual bones in classes.

This refactors the pet spawning into its own class to reduce some of the massive responsibility of ArenaImpl.

This closes #467
This commit is contained in:
Andreas Troelsen
2018-07-03 18:13:36 +02:00
parent f4f74c5b87
commit 63d2c552a6
5 changed files with 87 additions and 39 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
enabled: true
allowed-commands: /list, /pl
update-notification: true
prefix: '&a[MobArena] '
prefix: '&a[MobArena] '
pet-items:
wolf: bone