【我的世界全物品代码大全】在《我的世界》(Minecraft)中,物品代码是玩家在游戏中获取特定物品的重要方式。无论是通过指令方块、命令方块还是游戏内编辑器,掌握这些代码都能大大提升游戏体验。以下是对《我的世界》中常见物品及其对应代码的总结,涵盖基础物品、工具、武器、建筑材料等。
一、
《我的世界》中的物品代码主要分为两部分:物品ID 和 命名空间ID。随着版本更新,尤其是1.16之后,游戏引入了命名空间的概念,如 `minecraft:` 是默认的命名空间,而其他模组可能会使用不同的命名空间。因此,在使用命令时,建议使用完整的命名空间格式,以确保兼容性。
本表整理了《我的世界》中常见的物品及其对应的代码,适用于Java版和基岩版(部分可能略有不同)。适合新手快速查阅或老玩家参考。
二、全物品代码表格(精选)
物品名称 | Java版物品代码(命名空间) | 基岩版物品代码(命名空间) |
石头 | minecraft:stone | stone |
土壤 | minecraft:dirt | dirt |
木板 | minecraft:wooden_planks | wooden_planks |
钻石 | minecraft:diamond | diamond |
铁锭 | minecraft:iron_ingot | iron_ingot |
金块 | minecraft:gold_block | gold_block |
红石 | minecraft:redstone | redstone |
火把 | minecraft:torch | torch |
床 | minecraft:bed | bed |
工具箱 | minecraft:chest | chest |
耙 | minecraft: hoe | hoe |
铁剑 | minecraft:iron_sword | iron_sword |
木剑 | minecraft:wooden_sword | wooden_sword |
木斧 | minecraft:wooden_axe | wooden_axe |
铁盔 | minecraft:iron_helmet | iron_helmet |
钻石靴 | minecraft:diamond_boots | diamond_boots |
熔炉 | minecraft:furnace | furnace |
箱子 | minecraft:chest | chest |
红石火把 | minecraft:redstone_torch | redstone_torch |
拖拽方块 | minecraft:lever | lever |
红石比较器 | minecraft:redstone_comparator | redstone_comparator |
红石中继器 | minecraft:redstone_repeater | redstone_repeater |
炸药 | minecraft:tnt | tnt |
苹果 | minecraft:apple | apple |
面包 | minecraft:bread | bread |
蛋 | minecraft:egg | egg |
三、使用说明
- Java版:使用 `/give @p minecraft:item_name` 或 `/give @p minecraft:item_name 1` 来获得物品。
- 基岩版:使用 `/give @p item_name` 或 `/give @p item_name 1`,但部分物品需要添加命名空间前缀(如 `minecraft:apple`)。
- 注意:某些物品在旧版本中可能没有命名空间,但在新版本中推荐使用完整格式。
四、小贴士
- 可以使用 `/help give` 查看所有可用物品列表。
- 使用 `/gamemode creative` 进入创造模式后,可以通过点击物品栏中的物品来查看其代码。
- 对于模组内容,需确认是否已安装相应模组,并使用正确的命名空间。
通过这份《我的世界全物品代码大全》,玩家可以更方便地获取所需物品,提升游戏效率与乐趣。希望对大家有所帮助!