Releases: boxbeam/RedLib
Major improvements to the Custom Block API
Added documentation for CustomBlockType
Changed some abstract methods in CustomBlockType to take the CustomBlock instance instead of a DataBlock
You can now middle click custom blocks to get their item
General optimizations
Added Custom Block API
The Custom Block API lets you easily define custom blocks using the already-in-place block data API.
Fixed bug with region events not handling teleports, added String variants of get methods to SQLHelper
Calling getObject on a ResultSet would return an Integer for a String column if the String could be parsed to an int, so calling the String variants is the workaround
Fleshed out SQLHelper to do more than just open connections
SQLHelper now contains methods to help you work with SQL without needing a try/catch every time you want to make a call, and without the needless clutter.
Created BlockDataManager and DataBlock
They can be used to store persistent data about blocks that will be intuitively managed (i.e. if a block is broken, it will lose its data, if a block is moved by a piston, its data will be moved as well)
Fleshed out PlayerChangedArmorEvent, added ConfigHook priority
2.5.4 Fleshed out PlayerChangedArmorEvent more, is now called when armor br…
Added alternate constructor and scale to RegionMap, various minor bugfixes
2.5.3 Added alternate constructor and scale to RegionMap, various minor bug…
Major optimizations to region protection and events
Breaking change:
Some classes have been moved from the redempt.redlib.region package to the redempt.redlib.protection package
Added MultiRegion clustering
MultiRegion clustering helps further optimize MultiRegions for ones that contain a large number of sub-regions
Added custom enchantments framework
The custom enchantments framework makes it easy to implement custom enchantments and load them all at runtime