Skip to content

Releases: boxbeam/RedLib

Make JSONParser support exponentiated decimals

Choose a tag to compare

@boxbeam boxbeam released this 29 Feb 21:50

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

Choose a tag to compare

@boxbeam boxbeam released this 28 Feb 03:45

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

Choose a tag to compare

@boxbeam boxbeam released this 13 Feb 00:43

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

Choose a tag to compare

@boxbeam boxbeam released this 22 Dec 20:02

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

Choose a tag to compare

@boxbeam boxbeam released this 25 Sep 01:05
  • Allows you to import a structure from a file
  • Also fixed a bug with getting relative blocks in mirrored structures

Fix wall rotations

Choose a tag to compare

@boxbeam boxbeam released this 23 Sep 01:42
  • Also make /struct build default to false for mirrored

Fix ClassCastException in EventListener

Choose a tag to compare

@boxbeam boxbeam released this 16 Sep 05:13

Turns out Bukkit has a really weird way of dispatching events

Fix for EventListener

Choose a tag to compare

@boxbeam boxbeam released this 16 Sep 03:19

Fix EventListener not being able to listen to EntitySpawnEvent

Fix bug with JSON parser

Choose a tag to compare

@boxbeam boxbeam released this 04 Sep 18:40

Bug caused leading zeroes in decimals to be ignored

Remove debug output

Choose a tag to compare

@boxbeam boxbeam released this 18 Aug 17:42
6.5.4.1

Remove debug output