Skip to content

Releases: boxbeam/RedLib

Major improvements to command manager

28 May 19:28
Compare
Choose a tag to compare
  • 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

27 May 18:02
Compare
Choose a tag to compare
Turns out that EntityPersistor wasn't working for 1.8 because of ambi…

…guous method definitions in the Spigot API. Added an alternative method that returns an EntityPersistor<T>. More annoying, but at least it works. To my knowledge, the standard persist method will work for versions above 1.8.

Changes to MultiRegion

26 May 00:08
Compare
Choose a tag to compare

Minor optimization to MultiRegion#recalculate, can no longer add regions from different worlds to a MultiRegion

Added USE_BUCKETS protection type

24 May 01:35
Compare
Choose a tag to compare
2.2.2

Added USE_BUCKET protection type

Fixed bug with Holograms

21 May 01:32
Compare
Choose a tag to compare

Holograms weren't persisting their ArmorStand instances properly when created with getAt, but this is fixed now

Added EntityPersistor

20 May 21:55
Compare
Choose a tag to compare

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

18 May 03:10
5c9ffe9
Compare
Choose a tag to compare

ConfigList allows you to store a List of a type not directly supported for storage in YAML

Minor bugfix

16 May 04:23
Compare
Choose a tag to compare

ChatPrompt had a placeholder which wasn't properly being replaced

Minor changes

14 May 18:01
Compare
Choose a tag to compare

Optimizations and bugfixes

Added methods to ItemBuilder and ItemUtils

13 May 07:24
Compare
Choose a tag to compare
Added new methods to ItemBuilder and ItemUtils to add item flags and …

…persistent data