我的全球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显示