❗ Lusk 1.2.x includes Breaking Changes:
A lot of things have been removed in this update, mainly hardcoded stuff that i internally referred to as "
aliases", this is because they are tough to maintain, i might add them back in the future but for now be on the lookout for errors, always test your code on a development server first.
⛏️ This Update:
Tip:
Each addition is paired with a working example, but for most elements multiple patterns are available, consider checking the documentation for more info.
➕ Added:
- Conditions:
- CondFullBlock: if event-block is a full block:
- Expressions:
- ExprBoundingBoxMeasurements: broadcast box height of bounding box of target
- ExprBoundingBoxVolume: broadcast box volume of bounding box of target
⚙️ Internal Changes:
- Fixed major 1.20.?+ issue causing patterntypes to be broke.
- Fixed Some Documentation stuff.
- Fixed DocumentationIds (thanks eyesniper)
- Improved Sections.
- Added Block Utils.
- Added useful Paper Utils.
- ^ Fixed Errors on Spigot.
- Borrowed some stuff from skBee to make my life easier and easily allow Lusk to work on pre skript 2.9 (when it comes to registries anyway)
✅ Summary:
- Fixed Major issues on 1.20+.
- Made Lusk more compatible with Spigot.
- Expanded the BoundingBox API.
- Lusk's documentation is now more stable.
Note:
This release is very similar to the 1.2.1-beta1 pre release, that's because when I posted the pre release I didn't have enough time to verify how good it was and how close it was to being a full release, so as I started working on the full update on it I realized I had already done most of what I needed to do.
Full Changelog:
1.2...1.2.1