CITX (CIT 扩展)

一款智能模组,通过一条命令即可快速轻松地重命名 CIT 物品。
专为建造者、创作者以及厌倦了铁砧叮当声的任何人打造。
? 功能特性
- 使用简单命令重命名物品
- 替换 CIT 扩展而非堆叠它们
- 完整支持显示名称的重命名
- 一键重置为默认值
- 智能逻辑、清理机制及命名条件
- 仅客户端运行,服务器端无需安装任何内容
? 快速参考
| 命令 |
别名 |
作用 |
/citx <input> |
|
快捷方式。完全跳过“extend”,直接添加/替换扩展 |
/citx extend <extension> |
/citx e <extension> |
添加或替换 CIT 扩展,保留基础名称 |
/citx rename <name> |
/citx r <name> |
替换整个显示名称 |
/citx reset |
/citx x |
清除自定义名称 |
⚠️ 重要提示:使用任何命令后,请打开并关闭你的背包以刷新重命名后的物品,使其在世界中正确显示。
遗憾的是,这个问题无法修复,因为这是 Minecraft 处理物品重命名和客户端物品更新的限制所致。
#️⃣ 命令
/citx extend
添加或替换扩展
保留物品的基础名称,仅修改扩展部分。
/citx extend <extension>
/citx e <extension> # 别名
/citx <input> # 快捷方式,无需子命令
对于快速的扩展更改,你甚至不需要输入 "extend" 或 "e"。单独使用 /citx <input> 效果相同:
/citx red
草方块 → 草方块_red
示例(完整形式)
/citx extend red
草方块 → 草方块_red
再次运行并使用新的扩展名,它将替换旧的扩展名,而不会堆叠:
草方块_old
/citx e new
→ 草方块_new ✅
→ 草方块_old_new ❌ (绝不会发生)
/citx rename
替换整个名称
/citx rename <name>
/citx r <name> # 别名
示例
/citx rename Mystic Sword
→ Mystic Sword
/citx reset
将物品名称重置为默认值
/citx reset
/citx x # 别名
? 自动清理
你不必担心格式问题。CITX 会在后台处理:
- 折叠重复的下划线
- 每次只保留一个扩展名
- 补充缺失的前导下划线
- 在错误发生前阻止格式错误的名称
Stone__red → Stone_red
? 工作流程示例
手持: 草方块
/citx blue → 草方块_blue (extend 的快捷方式)
/citx green → 草方块_green (已替换,未堆叠)
/citx r Emerald Trophy → Emerald Trophy
/citx x → 草方块 (恢复为默认值)
✨ 参见...
CITL (CIT Ledger) - 一款提供游戏内菜单以便浏览已安装的 OptiFine/CIT Resewn CIT 包的模组。
⚖️ 许可与支持
问题反馈和功能请求可通过 GitHub Issue Tracker 提交。
欢迎将其整合到你的整合包中,请注明出处。
根据 Apache-2.0 许可证 分发。
CITX (CIT Extension)

A smart mod that makes renaming CIT items quick and easy with one command.
Made for builders, creators, and anyone tired of the anvil clanking.
? Features
- Rename items with simple commands
- Swap CIT extensions instead of stacking them
- Full rename support for display names
- One-command reset to default
- Smart logics, clean-ups, and naming conditions
- Client-side only, nothing to install server-side
? Quick Reference
| Command |
Alias |
What it does |
/citx <input> |
|
Shortcut. Skips "extend" entirely, just adds/swaps the extension |
/citx extend <extension> |
/citx e <extension> |
Adds or swaps a CIT extension, keeps the base name |
/citx rename <name> |
/citx r <name> |
Replaces the entire display name |
/citx reset |
/citx x |
Clears the custom name |
⚠️ Important: After using any command, open and close your inventory to refresh the renamed item so it displays correctly in the world.
Unfortunately, this cannot be fixed, as it is a limitation of how Minecraft handles item renames and client-side item updates.
#️⃣ Commands
/citx extend
Adds or swaps an extension
Keeps the item's base name and only touches the extension.
/citx extend <extension>
/citx e <extension> # alias
/citx <input> # shortcut, no subcommand needed
For quick extension changes you don't even need to type "extend" or "e". Just /citx <input> on its own works the same way:
/citx red
Grass Block → Grass Block_red
Example (full form)
/citx extend red
Grass Block → Grass Block_red
Run it again with a new extension and it replaces the old one, it doesn't stack:
Grass Block_old
/citx e new
→ Grass Block_new ✅
→ Grass Block_old_new ❌ (never happens)
/citx rename
Replaces the whole name
/citx rename <name>
/citx r <name> # alias
Example
/citx rename Mystic Sword
→ Mystic Sword
/citx reset
Resets item name back to default
/citx reset
/citx x # alias
? Automatic Cleanup
You don't have to think about formatting. CITX handles it in the background:
- Collapses duplicate underscores
- Keeps only one extension at a time
- Adds a missing leading underscore
- Blocks malformed names before they happen
Stone__red → Stone_red
? Example Workflow
Hold: Grass Block
/citx blue → Grass Block_blue (shortcut for extend)
/citx green → Grass Block_green (swapped, not stacked)
/citx r Emerald Trophy → Emerald Trophy
/citx x → Grass Block (back to default)
✨ See Also...
CITL (CIT Ledger) - A mod that provides an in-game menu for browsing installed OptiFine/CIT Resewn CIT packs.
⚖️ License & Support
Issues and feature requests can be submitted via the GitHub Issue Tracker.
Feel free to include into your modpacks with credits.
Distributed under the Apache-2.0 License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧