Repository navigation
v1.2.10
Fixes
- Block preview:
entity_renderernow 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 (getOrGuessTypetype inference,getAsQuaternionrotation parsing) and rendered as text displays (affine text plane withline_widthwrapping / alignment / shadow), block displays (target block model faces), and item displays / armor stands (item model or vertical flat card) - includingposition/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.jsimplements 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.