Skip to content

Releases: boxbeam/RedLib

Make JSONParser support exponentiated decimals

29 Feb 21:50
Compare
Choose a tag to compare

This will fix some potential breakages of ItemUtils.fromString where a serialized decimal was extremely large or small, and got converted using E

Fix deserialization of damaged items

28 Feb 03:45
Compare
Choose a tag to compare

Seems like at some point, spigot's deserializer stopped being able to automatically convert long -> int. This broke deserialization of damaged items, since the JSON parser would interpret all integer values as a long. Now it will presume them all to be int unless they have the L suffix, and serialization will use the L suffix for longs. This makes the JSON output is technically no longer JSON-compliant.

Add @ConfigConstructor

13 Feb 00:43
Compare
Choose a tag to compare

Adds an annotation @ConfigConstructor which can annotate a constructor that takes all of the fields of a class in the same order. This is mostly intended for Kotlin developers, since Java has records but Kotlin's data classes remained difficult to use.

Make config annotations inherited

22 Dec 20:02
Compare
Choose a tag to compare

Now most config annotations will be inherited. Things like post-init behavior should carry over even if the annotation is not respecified.

Add /struct import

25 Sep 01:05
Compare
Choose a tag to compare
  • Allows you to import a structure from a file
  • Also fixed a bug with getting relative blocks in mirrored structures

Fix wall rotations

23 Sep 01:42
Compare
Choose a tag to compare
  • Also make /struct build default to false for mirrored

Fix ClassCastException in EventListener

16 Sep 05:13
Compare
Choose a tag to compare

Turns out Bukkit has a really weird way of dispatching events

Fix for EventListener

16 Sep 03:19
Compare
Choose a tag to compare

Fix EventListener not being able to listen to EntitySpawnEvent

Fix bug with JSON parser

04 Sep 18:40
Compare
Choose a tag to compare

Bug caused leading zeroes in decimals to be ignored

Remove debug output

18 Aug 17:42
Compare
Choose a tag to compare
6.5.4.1

Remove debug output