Releases: boxbeam/RedLib
Releases · boxbeam/RedLib
Major improvements to command manager
- Added "assert" tag to command file parser, which acts similarly to "context" tag but doesn't pass the argument to the method hook. Useful for when you just need to assert that certain context is true or exists, but don't need the actual data beyond that.
- Created ArgType, which is the exact same as CommandArgumentType. CommandArgumentType can make your lines of code quite long, so ArgType just acts as an alias.
- Made CommandCollection coalesce multiple base commands with the same names/aliases into a single command which will attempt to run all of the commands until one is successful. This behavior is now consistent with how subcommands always worked, and simplifies command writing further.
EntityPersistor 1.8 fix
2.2.4 Turns out that EntityPersistor wasn't working for 1.8 because of ambi…
Changes to MultiRegion
Minor optimization to MultiRegion#recalculate, can no longer add regions from different worlds to a MultiRegion
Added USE_BUCKETS protection type
2.2.2 Added USE_BUCKET protection type
Fixed bug with Holograms
Holograms weren't persisting their ArmorStand instances properly when created with getAt, but this is fixed now
Added EntityPersistor
EntityPersistor allows you to ensure the persistence of an Entity object as a valid reference. This update also fixes persistence issues with Holograms.
Added ConfigList
ConfigList allows you to store a List of a type not directly supported for storage in YAML
Minor bugfix
ChatPrompt had a placeholder which wasn't properly being replaced
Minor changes
Optimizations and bugfixes
Added methods to ItemBuilder and ItemUtils
2.1.1 Added new methods to ItemBuilder and ItemUtils to add item flags and …