Skip to content

1.11.117 for 1.20.1

Latest

Choose a tag to compare

@KnightMiner KnightMiner released this 04 Sep 08:07

Utility

  • Made ModuleScreen#handleMouseReleased called 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#use to better mirror ChestBlock/AbstractFurnaceBlock.
  • Improve stability and errors from BaseContainerMenu#getTileEntityFromBuf
  • Added BlockEntityHelper#getLoaded as a replacement for BlockEntityHelper#get (requiring way fewer lambdas).
  • Added BlockEntityPacket helper 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_LOCATION to ResourceLocationLoadable#DEFAULT to 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.html are no longer marked unstable as part of this.

New Contributors

Full Changelog: v1.11.104...v1.11.117