Added our own Json reader & writer also new methods for devs & fixed bugs
Our own Json Reader & Writer (defaulty disabled)
* Allows you to have a List, Map, or other value as key, which the default Json does not allow.
* Also minor performance improvements over Guava Json.
❓ To switch to our experimental Json reader and writer, open file plugins/TheAPI/config.yml and change value on the line default-json-handler to TheAPI.
If you find any bugs, we would be very happy to receive any feedback via tickets.
+ Implemented custom Json reader & writer (⚠️ Experimental)
+ Added new constructors to the StringContainer class:
* StringContainer()
* StringContainer(String text)
+ Fixed sending packet to all online players in the specified world via methods Position#setAirAndUpdate and Position#updateBlockAt
+ Added new methods to the StringContainer class:
* isEmpty()
* appendNull() (Now is public)
+ Added new methods to the ParseUtils class for reading content from the StringContainer class
+ Fixed MathUtils#calculate methods
+ Added new method to the StringContainer class:
* trim() (Removes all spaces and tabs at the start and end)
+ Fixed reading 2x queto in the Yaml text (YamlLoader bug fix)
+ Increased default size of StringContainer when creating with String
+ Improved performance of StringContainer#replace methods and StringContainer#indexOf methods)
+ Printing exceptions when reading object from json
+ Added new methods to the ItemMaker class:
* ItemMaker#type(X/Material)
* Potion#fromType(XMaterial)
* BannerColor#fromType(XMaterial)
* ShulkerBoxColor#fromType(XMaterial)