CustomGive 是一款面向客户端的 Fabric 模组,适用于已经通过 SNBT 格式复制了物品 NBT 或数据组件的创造模式玩家。当你运行 /customgive 命令时,它会读取剪贴板内容,并通过 Minecraft 正常的创造模式库存操作发送一个物品堆叠。服务器仍会决定该操作是否被允许。
/customgive
/customgive minecraft:diamond_sword
/customgive diamond 2
第一个命令会生成一个石头物品,保留原有行为。其他形式允许你选择物品和数量。CustomGive 会将结果放入一个空的库存槽位中,不会替换你已有的物品。如果检测到格式错误的复合结构、未知物品、超出限制的堆叠数量或库存已满,它会在聊天栏中报告相应错误。
请为 Minecraft 1.20.1–1.20.4 复制 物品 NBT 复合结构。对于 Minecraft 1.20.5 及更高版本,请复制 数据组件复合结构,例如 {"minecraft:custom_data":{example:1b}}。如果你希望使用未更改的物品,请使用 {}。剪贴板文本仅在本地读取;模组不会将其发送到任何外部服务。
请在客户端安装与你 Minecraft 确切版本 对应的文件,并搭配 Fabric Loader 和 Fabric API 使用。由于 Minecraft 在 1.20.5 中更改了物品元数据,新版发布文件均针对特定版本。无需在服务器端安装。请参阅 README 获取示例以及 兼容性检查。
ByteBuilders Hosting 是项目作者提供的联盟链接。
CustomGive is a client-side Fabric mod for Creative-mode players who already have an item's NBT or data components copied as SNBT. It reads the clipboard when you run /customgive and sends one item stack through Minecraft's normal Creative inventory action. Your server still decides whether that action is allowed.
/customgive
/customgive minecraft:diamond_sword
/customgive diamond 2
The first command makes a stone item, keeping the original behavior. The other forms let you choose an item and amount. CustomGive puts the result in an empty inventory slot and will not replace an item you already have. It reports a malformed compound, an unknown item, an oversized stack, or a full inventory in chat.
Copy an item NBT compound for Minecraft 1.20.1–1.20.4. For Minecraft 1.20.5 and newer, copy a data-components compound such as {"minecraft:custom_data":{example:1b}}. Use {} when you want an unchanged item. The clipboard text is read locally; the mod does not send it to a separate service.
Install the file for your exact Minecraft version on the client, along with Fabric Loader and Fabric API. The new release files are version-specific because Minecraft changed item metadata in 1.20.5. A server-side installation is unnecessary. See the README for examples and compatibility checks.
ByteBuilders Hosting is an affiliate link from the project author.
下载 CustomGive
下载 CustomGive
下载 CustomGive
下载 CustomGive
下载 CustomGive
下载 CustomGive
下载 CustomGive
下载 CustomGive
下载 CustomGive
下载 CustomGive
CustomGive 1.1.0
- 在保留仅剪贴板命令的同时,添加了
/customgive <item> [amount]。 - 为 Minecraft 的物品元数据变更添加了特定版本的 Fabric 适配器。
- 改进了无效物品、格式错误的数据、堆叠数量和满背包的错误提示。
- 保留了在 Minecraft 原版创造模式物品栏路径中创建物品的功能;服务器仍决定是否接受该物品。
此仅客户端 JAR 适用于 Minecraft 26.3,并读取剪贴板数据组件。它需要 Fabric API,并通过创意物品栏传递、重连/持久化以及生存模式拒绝检查,需使用此确切的 JAR 和私有离线模式服务器进行验证。经过认证的多人游戏和单人游戏未包含在此次实时测试中。实时服务器测试使用的是 BETA 版 Paper 构建。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧