当前位置:首页 > 游戏相关 > 正文

mc获得指令大全

指令大全

基本命令

/ban [玩家名称] [时长/原因] /ban-ip [IP地址] [时长/原因] /banlist [ips/players] /clear [玩家名称] /clone [x1, y1, z1] [x2, y2, z2] [x3, y3, z3] /debug [start/stop] /defaultgamemode [survival/creative/adventure/spectator] /difficulty [peaceful/easy/normal/hard] /effect [玩家名称] [效果ID] [持续时间] [等级] [粒子效果] /enchant [玩家名称] [物品] [附魔ID] [等级] /entitydata [实体ID] [nbt数据] /execute [坐标] ~ ~ ~ [命令] /fill [x1, y1, z1] [x2, y2, z2] [方块ID] [方块数据] /gamemode [survival/creative/adventure/spectator] [玩家名称] /gamerule [规则名称] [值] /give [玩家名称] [物品ID] [数量] [数据] /help [命令名称] /kick [玩家名称] [原因] /kill [玩家名称] /list /locate [结构名称] /me [信息] /op [玩家名称] /particle [粒子效果] [坐标] [速度] [数量] /publish /reagent /recipe [give/take] [玩家名称] [配制ID] /reload /replaceitem /save-all /save-off /save-on /say [消息] /scoreboard [目标] [操作] /setblock [坐标] [方块ID] [方块数据] /setmaxplayers [数量] /setworldspawn [坐标] /spawnpoint [玩家名称] [坐标] /spreadplayers [x, z] [x, z] [间距] [可靠] [最小玩家数] [最大玩家数] /stop /suicide /summon [实体ID] [坐标] [nbt数据] /tag [玩家名称] [标签] [添加/删除] /tell [玩家名称] [消息] /tellraw [玩家名称] [json文本] /testfor [玩家名称] /testforblock [坐标] [方块ID] [方块数据] /time [set/add/query] [时间] /title [玩家名称] [/副] [fadeIn/stay/fadeOut] /trigger [目标] [添加/移除] /unban [玩家名称] /unban-ip [IP地址] /whitelist [添加/移除] [玩家名称] /worldborder [设置/增加/更改/中心/伤害/警告] [x, z] [距离] /xp [设置/增加] [玩家名称] [数量]

传送命令

/execute [玩家名称] ~~~ tp [玩家名称] ~~~ [朝向] /tp [玩家名称] [玩家名称] /tp [玩家名称] [坐标] /tp [玩家名称] [坐标] [朝向] /tppos [玩家名称] [x] [y] [z] /tppos [玩家名称] [x] [y] [z] [朝向] /tpall [坐标] /tpall [坐标] [朝向]

物品命令

/give [玩家名称] [物品ID] [数量] /clear [玩家名称] /replaceitem entity [实体ID] slot.container.slot [物品ID] [数量] /replaceitem entity [实体ID] slot.inventory.slot [物品ID] [数量] /replaceitem entity [实体ID] slot.weapon [物品ID] [数量] /replaceitem entity [实体ID] slot.off-hand [物品ID] [数量] /replaceitem entity [实体ID] slot.armor.head [物品ID] [数量] /replaceitem entity [实体ID] slot.armor.chest [物品ID] [数量] /replaceitem entity [实体ID] slot.armor.legs [物品ID] [数量] /replaceitem entity [实体ID] slot.armor.feet [物品ID] [数量]

实体命令

/summon [实体ID] [坐标] [nbt数据] /kill [实体ID] /tp [实体ID] [坐标] [朝向] /data modify entity [实体ID] [nbt路径] set [nbt值] /data get entity [实体ID] [nbt路径] /experience add [实体ID] [数量] /experience set [实体ID] [数量] /health add [实体ID] [数量] /health set [实体ID] [数量] /invsee [实体ID] /kill [实体ID] /look [实体ID] [目标实体ID] /mount [实体ID] [目标实体ID] /pathfind [实体ID] [坐标] /respawn [实体ID] /ride [实体ID] [目标实体ID] /say [实体ID] [消息] /schedule function [函数名称] [游戏刻] /schedule clear [函数名称] /scoreboard players enable [实体ID] [目标] /scoreboard players get [实体ID] [目标] /scoreboard players operation [实体ID] [目标] [运算符] [目标] /scoreboard players remove [实体ID] [目标] /scoreboard players set [实体ID] [目标] [值] /scoreboard players test [实体ID] [目标] [值] /scoreboard teams add [队伍名称] /scoreboard teams empty [队伍名称] /scoreboard teams join [队伍名称] [实体ID] /scoreboard teams leave [队伍名称] [实体ID] /scoreboard teams option [队伍名称] color [颜色代码] /scoreboard teams option [队伍名称] displayName [显示名称] /scoreboard teams option [队伍名称] friendlyFire [true/false] /scoreboard teams option [队伍名称] nameTagVisibility [never/hideForOtherTeams/hideForOwnTeam] /scoreboard teams remove [队伍名称] /scoreboard teams setdisplayName [队伍名称] [显示名称] /scoreboard teams setprefix [队伍名称] [前缀] /scoreboard teams setsuffix [队伍名称] [后缀] /spawnpoint [实体ID] [坐标] /teleport [实体ID] [坐标] [朝向]

方块命令

/fill [坐标] [坐标] [方块ID] [方块数据] /setblock [坐标] [方块ID] [方块数据] /fill [坐标] [坐标] [方块ID] [方块数据] replace [方块ID] [方块数据] /clone [坐标] [坐标] [坐标] [坐标] [force/move/normal] /structure save [结构名称] [坐标] [坐标] [角度] [整数] /structure load [结构名称] [坐标] [角度] [整数] /structure list /structure delete [结构名称]

游戏规则命令

/gamerule doDaylightCycle [true/false] /gamerule doEntityDrops [true/false] /gamerule doFireTick [true/false] /gamerule doInsomnia [true/false] /gamerule doMobLoot [true/false] /gamerule doMobSpawning [true/false] /gamerule doTileDrops [true/false] /gamerule doWeatherCycle [true/false] /gamerule commandBlockOutput [true/false] /gamerule disableElytraMovementCheck [true/false] /gamerule keepInventory [true/false] /gamerule naturalRegeneration [true/false] /gamerule sendCommandFeedback [true/false] /gamerule showDeathMessages [true/false] /gamerule spawnRadius [整数]

生成结构命令

/structure void [坐标] [坐标] [坐标] /structure oceanmonument [坐标] [整数] /structure mineshaft [坐标] [整数] /structure strongholds [坐标] [整数] /structure village [坐标] [整数] /structure temple [坐标] [整数]

其他命令

/advancement [授予/撤销] [玩家名称] [进度名称] /attributes [获取/修改/清除] [实体ID] [属性名称] /bossbar add [名称] [显示名称] [进度] /bossbar remove [名称] /bossbar set [名称] [显示名称/进度/颜色/旗帜/黑暗] [值] /data modify storage [名称] [nbt路径] set [nbt值] /data get storage [