promotional bannermobile promotional banner

NewNeoBlåhaj

This mod ports Blåhaj to Neoforge

File Details

newneoblahaj-1.0.2.jar

  • R
  • Jun 18, 2026
  • 215.27 KB
  • 9
  • 26.2
  • NeoForge

File Name

newneoblahaj-1.0.2.jar

Supported Versions

  • 26.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:newneoblahaj-1541213:8273174"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changelog

[1.0.2] - 2026-06-18

Fixed

  • Memory & Rendering Cache: Added a secondary stack cache to avoid calling updateForTopItem on unchanged plushies, preventing redundant model updates.
  • Multiplayer Sync Thread Safety: Changed the attachment STREAM_CODEC map factory to use ConcurrentHashMap instead of a plain HashMap, preventing potential ConcurrentModificationException issues when syncing level attachments under concurrency.
  • Save Corruption Logging: Replaced the silent exception swallow with active warnings in the plush data deserializer when keys are malformed.
  • Client Resource Management: Added logical client level verification when clearing renderer caches.

Changed

  • Code Quality: Refactored internal rendering data structures to use modern Java record classes and tightened field encapsulation.
  • Optimized Event Mutations: Avoided copying level-attachment maps on plush additions or removals; mutated ConcurrentHashMap entries in-place instead.

[1.0.1] - 2026-06-18

Added

  • Rendering Caching Optimization: Introduced an ItemStackRenderState cache mapping block coordinates. This significantly reduces GC overhead and memory allocations by avoiding creating new rendering states every frame.
  • Client Resource Management: Added a level unload listener to safely clear cached render states and prevent resource leaks.

Fixed

  • Rendering State Conflict: Resolved an issue where multiple beds in the same chunk would display the same plushie (or "flicker" between them) due to a shared ItemStackRenderState. Each bed now uses a unique render state during submission.
  • Server Crash: Fixed a critical EncoderException ("Empty ItemStack not allowed") that occurred when interacting with beds (e.g., clicking a bed with a bed item). This was caused by the BED_PLUSH attachment sync logic failing on empty stacks; it now correctly uses OPTIONAL_STREAM_CODEC.
  • Plushie Alignment: Refined the vertical translation and offsets for plushies on beds to ensure they sit naturally on the pillow and correctly nestle under the player's head when the bed is occupied.

Changed

  • Version: Ported mod to Minecraft 26.2 (NeoForge 26.2.0.1-beta) and bumped version to 1.0.1.