高级用户命令
一款 Minecraft Fabric 模组,提供高级客户端命令以增强游戏体验和物品管理。
功能
复制 NBT 命令 (/copynbt)
将主手物品的 NBT 数据直接复制到剪贴板,格式为 SNBT(字符串 NBT)。
主要特性:
- 智能安全确认:当复制大型 NBT 数据(超过 5000 个字符)时,自动提示确认
- 灵活的复制模式:
ALL:复制所有物品组件
ESSENTIAL:仅复制必要组件(伤害、附魔等)
CUSTOM:选择特定的组件类别包含在内
- 组件过滤:对要包含的数据组件进行精细控制
- 剪贴板集成:自动管理剪贴板并与系统集成
- 交互式确认:点击
[✅] 确认或 [❌] 取消大型复制操作
用法:
/copynbt - 从主手复制物品 NBT
/copynbt confirm - 确认待处理的复制操作
/copynbt cancel - 取消待处理的复制操作
配置
可以通过 ModMenu 或直接编辑配置文件来配置该模组。
配置文件位置: .minecraft/config/advanced-user-commands.json
可用设置:
复制模式
- ALL:复制所有物品组件,包括元数据
- ESSENTIAL:仅复制必要组件:
- 伤害
- 附魔
- 自定义名称
- 描述文本 (Lore)
- 不可破坏状态
- 以及其他关键数据
- CUSTOM:选择特定的组件类别包含在内
组件类别
使用 CUSTOM 模式时,您可以从各种组件类别中进行选择,包括:
- 伤害与耐久度
- 附魔
- 显示效果(名称、描述文本、颜色)
- 存储(收纳袋、潜影盒)
- 药水与食物
- 烟花与旗帜
- 书籍与地图
- 工具与护甲
- 以及更多...
其他选项
输出格式
该模组以 SNBT(字符串 NBT)格式输出物品 NBT,兼容 Minecraft 命令:
/give @s minecraft:diamond_sword[damage=10,enchantments={levels:{"minecraft:sharpness":5}}]
此格式可直接粘贴到:
/give 命令中
/summon 命令中
- 命令方块
- 数据包和功能文件
- 外部 NBT 编辑器
支持
如果您遇到任何问题或有建议,请在 GitHub 上 提交 Issue。
致谢
Advanced User Commands
A Minecraft Fabric mod that provides advanced client-side commands for enhanced gameplay and item management.
Features
Copy NBT Command (/copynbt)
Copy item NBT data from the item in your main hand directly to your clipboard in SNBT (String NBT) format.
Key Features:
- Smart Safety Confirmations: Automatically prompts for confirmation when copying large NBT data (>5000 characters)
- Flexible Copy Modes:
ALL: Copy all item components
ESSENTIAL: Copy only essential components (damage, enchantments, etc.)
CUSTOM: Select specific component categories to include
- Component Filtering: Fine-grained control over which data components to include
- Clipboard Integration: Automatic clipboard management with system integration
- Interactive Confirmations: Click
[✅] to confirm or [❌] to cancel large copies
Usage:
/copynbt - Copy item NBT from main hand
/copynbt confirm - Confirm pending copy operation
/copynbt cancel - Cancel pending copy operation
Configuration
The mod can be configured through ModMenu or by editing the configuration file directly.
Config File Location: .minecraft/config/advanced-user-commands.json
Available Settings:
Copy Modes
- ALL: Copies all item components including metadata
- ESSENTIAL: Copies only essential components:
- Damage
- Enchantments
- Custom Name
- Lore
- Unbreakable status
- And other critical data
- CUSTOM: Choose specific component categories to include
Component Categories
When using CUSTOM mode, you can select from various component categories including:
- Damage and Durability
- Enchantments
- Display (Name, Lore, Colors)
- Storage (Bundles, Shulker Boxes)
- Potions and Food
- Fireworks and Banners
- Books and Maps
- Tools and Armor
- And many more...
Additional Options
- Include Empty Values: Toggle whether to include components with empty/default values
Output Format
The mod outputs item NBT in SNBT (String NBT) format, compatible with Minecraft commands:
/give @s minecraft:diamond_sword[damage=10,enchantments={levels:{"minecraft:sharpness":5}}]
This format can be directly pasted into:
/give commands
/summon commands
- Command blocks
- Datapacks and functions
- External NBT editors
Support
If you encounter any issues or have suggestions, please open an issue on GitHub.
Credits
评论 0
登录后参与评分
还没有评论,来抢沙发吧