Список изменений
Changelog
[1.0.2] - 2026-06-18
Fixed
- Memory & Rendering Cache: Added a secondary stack cache to avoid calling
updateForTopItemon unchanged plushies, preventing redundant model updates. - Multiplayer Sync Thread Safety: Changed the attachment
STREAM_CODECmap factory to useConcurrentHashMapinstead of a plainHashMap, preventing potentialConcurrentModificationExceptionissues 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
recordclasses and tightened field encapsulation. - Optimized Event Mutations: Avoided copying level-attachment maps on plush additions or removals; mutated
ConcurrentHashMapentries in-place instead.
[1.0.1] - 2026-06-18
Added
- Rendering Caching Optimization: Introduced an
ItemStackRenderStatecache 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 theBED_PLUSHattachment sync logic failing on empty stacks; it now correctly usesOPTIONAL_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.
Метаданные
Канал релиза
Release
Номер версии
1.0.2
Загрузчики
NeoForge
Версии игры
26.2
Загрузок
2
Дата публикации
7 ч. назад


