在《我的世界》这款沙盒游戏中,指令代码就像是玩家手中的魔法棒,轻轻一挥就能改变游戏世界的规则和环境。2025年,《我的世界》迎来了全新的指令代码,为玩家们带来了更多可能性和惊喜!无论是想轻松切换游戏模式、调整难度,还是创造复杂的建筑结构,这些指令都能让你如虎添翼。想象一下,只需输入几行简单的命令,你就能瞬间传送到好友身边、设置重生点、甚至给予自己强大的药水效果。本文将带你一览2025年最新最全的指令代码,帮助你在游戏中游刃有余,玩得更尽兴!让我们一起探索这些神奇的指令吧,相信你会惊叹于它们带来的无限可能!
单机指令(部分多人也适用)
指令代码大全
指令功能描述
/gamemode 0切换到生存模式
/gamemode 1切换到创造模式
/gamemode 2切换到冒险模式
/gamemode 3切换到旁观模式
/gamerule KeepInventory true死亡时不掉落物品
/gamerule mobGriefing false防止生物破坏方块
/give @s minecraft:command_block给予玩家命令方块
/spawnpoint @a设置所有玩家的重生点
/difficulty<0-3>设置游戏难度(0=和平,1=简单,2=普通,3=困难)
/Weather clear清除天气效果
/kill @s自杀
/heal @s恢复玩家的生命值
/TIMe set day设置时间为白天
/time set night设置时间为夜晚
/locate temple定位最近的神庙坐标
/effect @s minecraft:regeneration 10 1给予玩家再生效果
/clear @s清除玩家背包中的所有物品
/clone复制指定区域的方块到另一个位置
/fill填充指定区域的方块
/tp @s将玩家传送到指定坐标
/tp @s @a将玩家传送到其他玩家的位置
/particle生成粒子效果
/playsound@s播放音乐或声音效果
/say在聊天框中发送消息
/tellraw @s {"text":""}发送格式化消息
/scoreboard objectives add创建计分板
/advancement grant @s everything给予玩家所有成就
/bossbar create
/execute as @s at @s run以玩家身份执行命令
/experience add @s 10 levels给予玩家经验值
/enchant @s附魔玩家物品
/function运行函数
/data merge block{}修改方块的NBT数据
/data merge entity @s {}修改实体的NBT数据
/datapack enable启用数据包
/datapack disable禁用数据包
/debug start开始调试
/debug stop停止调试
/defaultgamemode设置默认游戏模式
/difficulty<0-3>设置游戏难度
/effect clear @s清除玩家身上的所有药水效果
/effect give @s minecraft:strength 10 1给予玩家力量药水效果
/fill填充指定区域的方块
/function运行函数
/gamemode更改游戏模式
/gamerule更改游戏规则
/give @s给予玩家物品
/help显示帮助信息
/kill @s杀死玩家
/locate定位最近的建筑坐标
/me显示玩家的动作
/particle生成粒子效果
/playsound@s播放音乐或声音效果
/say在聊天框中发送消息
/scoreboard objectives add创建计分板
/advancement grant @s everything给予玩家所有成就
/bossbar create
/execute as @s at @s run以玩家身份执行命令
/experience add @s 10 levels给予玩家经验值
/enchant @s附魔玩家物品
/function运行函数
/data merge block{}修改方块的NBT数据
/data merge entity @s {}修改实体的NBT数据
/datapack enable启用数据包
/datapack disable禁用数据包
/debug start开始调试
/debug stop停止调试
/defaultgamemode设置默认游戏模式
/difficulty<0-3>设置游戏难度
/effect clear @s清除玩家身上的所有药水效果
/effect give @s minecraft:strength 10 1给予玩家力量药水效果
/fill填充指定区域的方块
/function运行函数
/gamemode更改游戏模式
/gamerule更改游戏规则
/give @s给予玩家物品
/help显示帮助信息
/kill @s杀死玩家
/locate定位最近的建筑坐标
/me显示玩家的动作
/particle生成粒子效果
/playsound@s播放音乐或声音效果
/say在聊天框中发送消息
/scoreboard objectives add创建计分板
/advancement grant @s everything给予玩家所有成就
/bossbar create
/execute as @s at @s run以玩家身份执行命令
/experience add @s 10 levels给予玩家经验值
/enchant @s附魔玩家物品
/function运行函数
/data merge block{}修改方块的NBT数据
/data merge entity @s {}修改实体的NBT数据
/datapack enable启用数据包
/datapack disable禁用数据包
/debug start开始调试
/debug stop停止调试
/defaultgamemode设置默认游戏模式
/difficulty<0-3>设置游戏难度
/effect clear @s清除玩家身上的所有药水效果
/effect give @s minecraft:strength 10 1给予玩家力量药水效果
/fill填充指定区域的方块
/function运行函数
/gamemode更改游戏模式
/gamerule更改游戏规则
/give @s给予玩家物品
/help显示