MCTOOLBOX
MC ToolboxMC TOOLBOX

Give 指令生成器

Minecraft 物品指令生成器,支持自定义数据。

物品库
Weapons (23)
Arrow
Bow
Copper Axe
Copper Sword
Crossbow
Diamond Axe
Diamond Sword
Fire Charge
Golden Axe
Golden Sword
Iron Axe
Iron Sword
Mace
Netherite Axe
Netherite Sword
Spectral Arrow
Stone Axe
Stone Sword
Tipped Arrow
Trident
Wind Charge
Wooden Axe
Wooden Sword
Tools (36)
Brush
Carrot on a Stick
Clock
Compass
Copper Hoe
Copper Pickaxe
Copper Shovel
Diamond Hoe
Diamond Pickaxe
Diamond Shovel
Map
Fishing Rod
Flint and Steel
Golden Hoe
Golden Pickaxe
Golden Shovel
Iron Hoe
Iron Pickaxe
Iron Shovel
Lead
Empty Map
Name Tag
Netherite Hoe
Netherite Pickaxe
Netherite Shovel
Recovery Compass
Saddle
Shears
Spyglass
Stone Hoe
Stone Pickaxe
Stone Shovel
Warped Fungus on a Stick
Wooden Hoe
Wooden Pickaxe
Wooden Shovel
Armor (37)
Chainmail Boots
Chainmail Chestplate
Chainmail Helmet
Chainmail Leggings
Copper Boots
Copper Chestplate
Copper Helmet
Copper Horse Armor
Copper Leggings
Diamond Boots
Diamond Chestplate
Diamond Helmet
Diamond Horse Armor
Diamond Leggings
Golden Boots
Golden Chestplate
Golden Helmet
Gold Horse Armor
Golden Leggings
Iron Boots
Iron Chestplate
Iron Helmet
Iron Horse Armor
Iron Leggings
Leather Boots
Leather Tunic
Leather Cap
Leather Horse Armor
Leather Pants
Netherite Boots
Netherite Chestplate
Netherite Helmet
Netherite Horse Armor
Netherite Leggings
Shield
Turtle Shell
Wolf Armor
Food (43)
Potions (6)
Blocks (242)
Wood (165)
Nether (94)
Deepslate (30)
Copper (121)
Colors (249)
Redstone (46)
Ores (48)
Spawn Eggs (88)
Music Discs (22)
Special (287)
Diamond Sword
minecraft:diamond_sword
Diamond Sword
minecraft:diamond_sword
1537 matching items from 1537 registered items.
生成的命令
Java 26.2
/give @p diamond_sword 1
24 字符
Diamond Sword
diamond_sword
耐久度物品

生成与您的 Minecraft 版本匹配的 /give 命令

/give 命令生成器可帮助您创建自定义物品、工具包、地图奖励和服务器事件的命令,而无需记住每个物品 ID 或数据字段。选择物品,选择目标,设置数量,然后添加您的世界实际需要的属性。

Java 1.21 使用数据组件,而旧版 Java 和 Bedrock 命令使用不同的语法。复制前请使用版本选择器,以便生成的命令与您计划运行它的服务器或单人世界匹配。

版本感知输出

复制前可在现代 Java 数据组件、旧版 Java 物品数据和 Bedrock 友好命令之间切换。这避免了将 1.21 语法粘贴到旧服务器中的常见错误。

实用物品设置

可用于新手工具包、冒险地图奖励、商店物品、活动箱子,或在创造模式建造中测试特定物品。对于公共服务器,请先在私人世界中测试命令。

快速 /give 工作流程

  1. 从物品列表中选择基础物品。
  2. 选择目标版本:Java 1.21、旧版 Java 或 Bedrock。
  3. 设置玩家选择器、物品数量和可选的自定义名称。
  4. 仅在需要时添加附魔、描述、耐久度或其他物品属性。
  5. 复制命令并在命令方块或私人世界中测试。

常见 /give 问题

我可以制作永不损失耐久度的物品吗?

是的。切换“不可破坏”旗帜以创建不会损失耐久度的工具和武器。这对于冒险地图、大厅物品和服务器活动装备非常有用。

如何一次性装备我的整个小队?

使用 @a 选择器同时向服务器上的每个玩家投放自定义装备。非常适合全服活动或以补给包开始新的生存赛季。

1.21 更新带来了什么变化?

Mojang 将许多物品属性从经典的 NBT 移到了数据组件中。当您选择 Java 1.21 时,生成器会更改命令格式,以便名称、描述、附魔和耐久度使用正确的结构。

我可以添加带颜色的自定义名称和描述吗?

是的,我们的编辑器支持完整的 JSON 文本格式。您可以添加粗体标题和多行描述,并使用自定义颜色代码,使您的独特战利品在原版物品中脱颖而出。

如何给予特定的玩家头颅?

选择玩家头颅物品并在属性选项卡中输入玩家名称。当游戏能够解析配置文件时,生成的命令可以生成一个使用该玩家皮肤的头颅。

我需要 OP 权限才能使用这些命令吗?

是的,大多数 /give 命令需要操作员权限(等级 2)或在单人世界中启用“允许作弊”才能正常执行。