Skip to content

v1.2.10

Choose a tag to compare

@zzzyyylllty zzzyyylllty released this 04 Oct 10:26
· 1 commit to master since this release

Fixes

  • Block preview: entity_renderer now renders. Configs are a list of elements; the preview previously read a single object and silently dropped the common list form. Elements are now resolved 1:1 with CraftEngine semantics (getOrGuessType type inference, getAsQuaternion rotation parsing) and rendered as text displays (affine text plane with line_width wrapping / alignment / shadow), block displays (target block model faces), and item displays / armor stands (item model or vertical flat card) - including position / translation / scale / rotation / yaw / pitch. The canvas bounding box now covers all entity elements, so entities elevated above the block are no longer clipped.
  • Item tooltip: wrapped lines no longer shift left. Visual lines now advance by the tooltip line height (10px) instead of the generic 9px, the surface height counts visual lines, and each row is drawn at its own line count. New ce-tooltip.js implements the vanilla-style tooltip (tooltip_style background/frame, rarity color, derived component lines) shared by the main window and the detached preview window.

Improvements

  • Language files (en_us / zh_cn) are read once during resource pack scanning (capped at 4MB per file) and served from cache, removing repeated per-preview lang parsing.

Tests: preview / tooltip / new entity-renderer regression suites all pass (44 assertions); furniture preview path untouched.