Utility
- Made
ModuleScreen#handleMouseReleasedcalled regardless of the mouse location (thanks @ryancircelli in #257)- Allows handling releasing in a click and drag which is the main usage of that hook.
- Fixed scrollbar release being called from a too large area which caused it to be called outside the module below or to the right often,
- Added a new alternative fallback fluid render type which better handles fog and block/sky light. Will be automatically used if the Mantle type is disabled.
- Make entity JEI ingredient helper support tags.
- Fix fluid renderer not properly applying block and sky light.
Combat
- Work around issues with swapping hands and attacking too close together.
- Make offhand attribute fetching more stable by not mutating attributes on the player.
- Added
CombatHelper#isAttackable, which is the start of melee attack logic. - Added damage source parameter to
CombatHelper#attack. - Ensure blend is enabled for offhand cooldown attack indicator.
Blocks
- Update
InventoryBlock#useto better mirrorChestBlock/AbstractFurnaceBlock. - Improve stability and errors from
BaseContainerMenu#getTileEntityFromBuf - Added
BlockEntityHelper#getLoadedas a replacement forBlockEntityHelper#get(requiring way fewer lambdas). - Added
BlockEntityPackethelper to more easily create packets that update a block entity on the client.
Error handling
- Catch and log exceptions from failed multi-recipe expansion in
RecipeHelper#getJEIRecipes. This should cause exceptions to skip adding recipes over making the whole plugin fail. - Improve logging for packet encoder exceptions in network wrapper.
- Improve exception message for logging recipe serializer errors.
Loadable
- Add "while parsing" debug info to legacy loadable.
- Relocated
Loadables#RESOURCE_LOCATIONtoResourceLocationLoadable#DEFAULTto prevent a potential class loading deadlock.
Book
- In book export commands, add new namespace option to export all books under a single namespace.
- Implement converting PageContent's into HTML by @paypur in #231 and #245
- Mantle book pages will handle exporting, but mods adding custom pages may need to implement the HTML export.
- Html utilities under
slimeknights.mantle.util.htmlare no longer marked unstable as part of this.
New Contributors
- @paypur made their first contribution in #231
- @ryancircelli made their first contribution in #257
Full Changelog: v1.11.104...v1.11.117