### 0.0.1 — 2025-09-25
* **Renaming / Namespace:** Renamed to **CAD Editor (CADE)**; unified namespace to `cadeditor` (compatible with legacy prefixes).
* **Compatibility / Migration:** Supports **Minecraft 1.21–1.21.4 (NeoForge)**; primary workflow migrated to **Data Components**.
* **Core Features:** Name/Lore (tree & text), Enchantments (stored), Unbreakable, Attribute Modifiers, CanPlaceOn/CanBreak, Potions (base/color/custom), Leather dyeing; common fields (Rarity, Custom Model Data, Repair Cost, **glint override**, Creative tab lock—visibility depends on game version).
* **UI / UX:** Top-right actions consolidated (“Save / Copy / Changelog”); “Raw Data Editor” → “Raw Data (Tree / Text)”; log panel wraps responsively; footer short/long notes moved to the top of the Changelog page.
* **Messages / Copy:** Message prefix standardized to **\[CADE-date]**; refined Chinese prompts and input hints.
* **Export (/give):** One-click copy of **1.21 Data Components** command; legacy `tag` written to `minecraft:custom_data`; UUIDs auto-filled; booleans/enums use native syntax; after copying, guide users to run it via a command block.
* **Enchantments / Visuals:** Available enchants pinned to the top and highlighted in green; tooltips show applicable types; editor shows live icons and names (enchants/potions/attributes).
* **Hidden Info:** Prefer `tooltip_display`, fall back to legacy `hide_*`; supports echo/unhide via `show_in_tooltip`.
* **Stability / Sync:** Force broadcast after save; standardized on `ItemStack#copy()`; inventories/containers call `setChanged` / `broadcastChanges` so changes apply on the first save.
* **Food Tab Split:** Base values and eat effects split into two pages; the Buff column reuses the potion layout; probability input sits inline with other controls to keep rhythm.
* **Optional Food Component:** Added “Edible?” checkbox on the base page; hides the Food tab when unchecked; when checked, creates a default food component immediately.
* **Misc:** Default tool mining speed / durability cost; base food properties; normalized mod metadata (credits/authors/description).
---
### 0.0.1 — 2025-09-25
- 更名/命名空间:改为 CAD Editor(CADE),统一 cadeditor(兼容旧前缀)。
- 适配/迁移:支持 Minecraft 1.21–1.21.4(NeoForge);主工作流转向 Data Components。
- 核心功能:名称/描述(树/文本)、附魔(存储)、不可破坏、属性修饰、可放置/可破坏、药水(默认/颜色/自定义)、皮革染色;常规项(稀有度、自定义模型数据、维修成本、发光覆盖、创造栏锁定按版本可见)。
- UI/交互:右上角整合「保存/复制/更新日志」;“原始数据编辑器”→“原始数据(树/文本)”;日志面板自适应换行;页脚短说明、长说明移至日志页首。
- 提示/文案:消息前缀统一 [CADE-日期];中文提示与输入说明优化。
- 导出(/give):一键复制 1.21 数据组件版 指令;旧 tag 写入 minecraft:custom_data;自动补 UUID;布尔/枚举用原生语法;复制后引导用命令方块。
- 附魔/可视:可用附魔置顶并绿色显示;悬浮提示适用类型;编辑区实时显示图标与名称(附魔/药水/属性)。
- 隐藏信息:优先 tooltip_display,旧版回退 hide_*;支持 show_in_tooltip 回显与取消隐藏。
- 稳定性/同步:保存后强制广播;统一 ItemStack#copy();背包/容器 setChanged/broadcastChanges,首次保存即生效。
- 食物页签分栏:把基础数值与食用效果拆成两个页面,Buff 列沿用药水界面的排版,触发概率输入与其余控件并排显示保持整体节奏。
- 可选食物组件:在基础页新增"是否可食用"勾选,未勾选时自动隐藏食物页签,勾选后立即创建默认食物组件。
- 其他:工具默认挖掘速度/耐久消耗、食物基础属性;Mods 元信息(credits/authors/description)规范化。
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }