This update breaks a lot of things: generators, item attributes, functions.
When updating you will immediately log 20+ configuration mistakes, of course running a clean install will not log any errors. I recommend you follow the How To Update Guide if you need to update.
This is one of the largest updates I've made, if you like it leave a review, or don't, here are the changes:
- Reworked in-line config system, it now supports flags:
Code (Text):
if: placeholderEquals example tag={generator} ingnoreCase=false
- Removed NBTAPI dependency and implemented my own multi-version attribute mapper/loader. Example:
Code (Text):
# Old
attributes:
- attribute: generic.max_health
amount: 10
operation: 0
slot: HAND
# New
attributes:
- max_health 10 operation=add slot=mainhand
-
Added in-line flags for actions: chance, delay, repetitions, interval:
Code (Text):
# Works on any action
do: chatMessage <Hello World!> chance=0.5 delay=20 repeat=3 interval=10
- Added in-line message actions: sendChat, sendActionbar, sendTitle, sendHologram (TO-DO sendBossbar)
Code (Text):
do:
- sendChat <This is a chat message>
- sendActionbar <This is an actionbar>
- sendTitle <This is a title> <subtitle=This is a subtitle> fadeIn=10 stay=70 fadeOut=20
- sendHologram <This is a hologram> duration=60 radiusX=3 radiusY=1.5 radiusZ=3
-
Overhauled YAML scripting system and rewrote many systems.
- Laid down most work for particle editors.
-
Fixed a bug where an exception would be thrown for all particles of type spell.
- Fixed a bug/bad behavior where not all errors would be logged to player/console.
-
Now multiple errors can be caught from a file that contains multiple elements (items, functions, particles, sounds, messages). Before loading would stop for the file at the first error found.
- Fixed all configurations to use the new config line system where needed.
- The logged errors (chat/console) now include a Line parameter if the error is found in an in-line configuration.
- Errors do not display in italic anymore in chat which made them hard to read.
- Refactoring and many more things I forgot about