命令/list

来自Minecraft基岩版开发Wiki
命令概述
命令 描述 权限等级 命令旗标1 命令旗标2
/? 提供命令使用帮助。 0 8 64
/ability 赋予或剥夺玩家能力。 1 0 0
/addrider 为一个实体添加骑手。 1
/agent 操纵智能体。 1 6 0
/aicreate 为生物创建AI意向。 1
/aigoals 开关实体顶部的AI意向的信息绘制。 1
/aistop 停用实体的AI意向 1
/alwaysday 锁定或解锁昼夜循环。 1 0 0
/audioaction commands.audioaction.description 1
/automate 执行自动化行为树。 1
/bhave 执行行为树。 1
/bossbar 修改或查询Boss栏。 0
/bounds 开关实体边界箱的绘制。 1
/camera commands.camera.description 1
/camerashake 启用镜头抖动效果。 1 0 0
/changedimension 传送玩家到一个在其它维度的位置。 1
/changename 更改指定生物的名字。 1
/changesetting commands.changesetting.description 4 0 0
/cheat_ability pins an ability to a specified state, simulating cheating 0
/cheat_local_player_health sets a player's health to the specified value, but doesn't send it to the server, for testing server authoritative health changes 0
/cheat_movement_debug enables debug rendering for movement cheating 0
/classroommode 尝试启动并连接到教室。 0 0 0
/cleanroom Helper command that Runs 'spawning' and 'wipeout' at the same time. So all entities go away and do not come back through spawning. 1
/clear 清空玩家背包中的指定物品。 1 0 0
/clearloadedstructures 清除加载的结构。 1
/clearspawnpoint 清除指定玩家的世界出生点。 1 0 0
/clone 将指定区域的方块复制到另一区域。 1 0 0
/closewebsocket 关闭Websocket连接。 0 6 0
/code 启动代码编辑器 0 0 0
/codebuilder commands.codebuilder.description 1 4 0
/connect 尝试使用给出的URL链接连接到Websocket服务器。 2 16 0
/corruptworld Corrupts the world loaded on the server. 1
/crashclient 立即使游戏崩溃。 1
/crashserver 使连接到的服务端崩溃(可能是本地)。 1
/createlocalworld 在本机创建一个新的世界。 1
/currenttick 设置当前世界的每秒刻数。 0
/daylock 锁定或解锁昼夜交替。 1 0 0
/debugcamera commands.debugcamera.description 1
/debugprofile Captures the last N frames and saves the data to a file. 1
/dedicatedwsserver 尝试连以给出的URL链接接到WebSocket服务器。 0 6 0
/deop 撤销玩家的管理员权限。 2 64 0
/destroyblock 破坏指定位置的方块。 1
/dialogue 为指定玩家打开NPC的对话界面。 1 0 0
/difficulty 设置世界难度。 1 0 0
/dumpblocknames Gets block names from a range and dumps them into a string. 1
/dumpblockpalette Outputs valid block nbt for vanilla and bedrock blocks in a binary format. 1
/dumpentitiesclient Dump out info on all entities in the current dimension 1
/dumpentitiesserver Dump out info on all entities in the current dimension 1
/effect 为生物添加或清除状态效果。 1 0 0
/enableedunpc 是否允许在地图内生成NPC: true允许, false禁止 0
/enableencryption commands.enableencryption.description 0 6 0
/enchant 为一名玩家手持的物品附魔。 1 0 0
/enchantrandom 为玩家手持的物品附魔随机魔咒。 1
/equip Equips a selection of entities with an item 0
/event 为实体触发事件。 1 0 0
/execute 以不同的方式执行命令。 1 0 0
/fill 将指定区域填充为指定方块。 1 0 0
/fillchestblock 使用物品填充箱子。 1
/filldrive Fills the user save and keeps a certain amount of bytes remaining. 1
/filllevelstorage Fill level storage with bytes of dummy data. 1
/findanchoredbuildpos Given a specific destination block position, this method finds a valid position for the player to be at in order for them to place a block at that position. 1
/findflatarea Finds a flat area for further actions. 1
/findnearbypickup Finds a nearby pickup. 1
/fixbiomes Regenerate biomes in a chunk radius around the players 1
/fly 更改玩家的飞行状态。 1
/fog 添加或移除迷雾效果。 1 0 0
/function 运行指定函数文件。 1 0 0
/gamemode 设置玩家游戏模式。 1 0 0
/gamerule 设置或查询游戏规则。 1 64 0
/gametest Interacts with gametest. 1 1 0
/getblockname Gets block names at a given blockpos 1
/getchestcontents Gets contents of a chest 1
/getchunkdata Gets pixels for a specific chunk. 3 6 0
/getchunks Gets list of chunks that are loaded. 3 6 0
/getdurability Durability of selected item. 0 1 0
/geteduserverinfo commands.geteduserverinfo.description 0 6 0
/getexperience Returns the players current experience (score) 1
/getmobdebuginfo Retrieves the debug string for a given mob. 1
/getpower Gets the power at a given blockpos. 1
/getselecteditemcount Determine item count of inventory item. 1
/getspawnpoint Gets the spawn position of the specified player(s). 3 6 0
/getstructure Gets the structure that the player is current occupying 1
/gettopsolidblock Gets the position of the top non-air block below the specified position 0‌ ‌[仅教育版] / 1‌  ‌[仅基岩中国版] 6 0
/getworidname Gets the name of the current world (aka level). 1
/give 给予玩家物品。 1 0 0
/globalpause Sets or gets the paused state of the game for all players. 3 6 0
/health Modifies a mobs's health. 1
/help 显示命令帮助列表。 0 8 64
/hunger Modifies a player's hunger level. 1
/immutableworld Sets the immutable state of the world. 1 0 0
/insomnia Gets and sets the player's insomnia level. 1
/islargechestblock Check to see if block is a large chest. 1
/isplayercrouching Returns if the player is crouching 1
/isplayerflying Returns if the player is flying 1
/isplayergrounded Returns if the player is grounded 1
/isworldloaded Checks if the client is loaded into a world. 1
/joinlangame Join a game on a remote host. 1
/kick 将指定玩家踢出服务器‌ ‌[仅基岩版] 或将指定玩家移出世界‌ ‌[仅教育版] 1‌  ‌[仅基岩中国版] / 3‌ ‌[仅教育版] 64 0
/kill 清除实体(玩家、生物或etc.)。 1 0 0
/kit Gives the local player a kit. 0
/leaveworld Leaves the current world (aka level), goes back to start menu screen. 1
/lighttexturewriter Write the current dimension light texture to disk 1
/list 列出服务器玩家列表。 0 64 0
/listd commands.listd.description 3 6 0
/loadbehaviortreedefinitions Loads all of the automation behavior tree definitions. 1
/locate Displays the coordinates for the closest structure of a given type. 1 0 0
/log Modifies log settings or filters. 0
/lookat Forces the player to look at a floating point location 1
/me Displays a message about yourself. 0 32 64
/memwarn Fires low memory warning. 0
/mobevent Controls what mob events are allowed to run. 1 0 0
/mobinfo Toggles drawing mob information 1
/msg Sends a private message to one or more players. 0 32 64
/music Allows you to control playing music tracks. 1 0 0
/nearbyentityisbaby Returns true if the nearest entityType is a baby 1
/notifyprofiler Sends a message to the profiler to peform an action. 1
/op Grants operator status to a plaqer. 2 64 0
/openlocalworld Opens an existing world (aka level) on the local machine. 1
/ops Reloads and applies permissions. 4 0 0
/option Allows you to check or change the value of an option for the primary user 1
/packetprofile outputs verbose historq of packet stats to console 0
/particle 创建一个粒子发射器。 1 0 0
/particlelegacy Fires a legacy particle in the world 0
/paths Disables Drawing Paths 1
/pause commands.pause.description 1
/permission Reloads and applies permissions. 4 0 0
/placefeature Places a feature or feature rule in the given chunk. 1
/placefromhand Places the current selected inventory item to the given position, if possible 1
/placejigsaw Places a jigsaw piece and goes through the jigsaw generation in the given chunk. 1
/placestructure Places a structure 1
/playanimation Makes one or more entities play a one-off animation. Assumes all variables are setup corrrectly. 1 0 0
/playerstat Gets stats about a player 1
/playsound 播放声音。 1 0 0
/postrackclient Track a position within the world using a handle (Client) 1
/postracksrv Track a position within the world using a handle (Server) 1
/profile Shows the players profile with the specified name. 1
/querytarget Gets transform, name, and id information about the given target entity or entities. 0‌ ‌[仅教育版] / 2‌  ‌[仅基岩中国版] 6 0
/quit Quit the app. 1
/raid Triggers a raid at the originator's location, if they are in or near a village 1
/record Records or replays a session. 1
/redstonetest Outputs the redstone graph to a visual studio test. 1
/register3pserver Registers a 3P Server in the 3P Server Repositoty. 1
/reload 重载所有行为包的所有函数文件。 2 0 0
/reloadanims 重载动画数据。 1
/remove 删除实体(玩家、生物或etc.)。 2 0 0
/removeedunpc 删除世界内所有NPC。 0
/replaceitem Replaces items in inventories. 1 0 0
/resourceuri Sets the resource URI in pause menu 0 0
/restart commands.restart.description 1
/resupply Triggers resupply on an entity's economy trade table. 1
/ride Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders. 1 0 0
/rot Sets a player's current rotation. 1
/save Control or check how the game saves data to disk. 4 0 0
/savestructure Saves a structure 1
/say 在聊天栏中向所有玩家发送消息。 1 32 64
/schedule Schedules an action to be executed once an area is loaded, or after a certain amouont of time. 1 0 0
/scheduler Disables Drawing scheduler information 1
/scoreboard Tracks and displays scores for various objectives. 1 0 0
/seencredits Marks or unmarks an actor as having seen credits. 1
/selectinventoryitem Equips a passed item. 1
/sendmodalform Sends a request to show a form to the target player 1
/sendshowstoreoffer Sends a request to show a store offer to the target player. 1
/serverinfo Show Environment in which server is running 1
/setblock 设置(更改)指定坐标的方块。 1 0 0
/setmaxplayers 设置该游戏会话的最大玩家数。 3 0 0
/setworldspawn 设置世界出生点。 1 0 0
/showallitems Sends a request to show third party store offers to player. 0
/showfrustum Displays and freezes the player frustum. 1
/simlock Locks simulation time. 1
/simscale Scales the passage of simulation time. 1
/skin Gets the current player skin. 1
/spawnfeature commands.spawnfeature.description 1
/spawngroup Spawns a mob group at a specified location. 1
/spawning Toggles the spawning of enti ties. 1
/spawnitem Spawns an item entity at position 1
/spawnmob Spawns a mob to a particular state. 1
/spawnpoint Sets the spawn point for a plaqer. 1 0 0
/spreadplayers Teleports entities to random locations. 1 0 0
/stop 关闭服务器。 4 0 0
/stopsound 停止播放指定声音。 1 0 0
/stoptime Resumes time elapse. 1
/structure 保存或加载结构。 1 0 0
/summon 生成实体。 1 0 0
/systemstat Returns or sets runtime statistics for the game 1
/tag 管理实体标签。 1 0 0
/takepicture Takes a photo of a player or from a player's point of view. 1 0 0
/teleport Teleports entities (players, mobs, etc.). 1 0 0
/tell Sends a private message to one or more players. 0 32 64
/tellraw 向玩家发送Json文本. 1 32 64
/test Exectues‌[原文如此] a test via the test manager. 1
/testassets Upload or download test assets via the test manager. 1
/testfor 检测与统计指定实体(玩家、生物、掉落物和etc.) 1 0 0
/testforblock 检测指定坐标是否为特定方块。 1 0 0
/testforblocks 检测两个指定区域的方块是否相同。 1 0 0
/tickingarea 管理常加载区块列表。 1 0 0
/time 更改或获取世界时间。 1 0 0
/timelock Resumes time elapse. 1
/title 控制屏幕标题。 1 32 0
/titleraw 控制屏幕标题,但使用Json文本。 1 32 0
/toggledownfall Toggles the weather. 1 0 0
/tp 传送实体(玩家、生物或etc.) 1 0 0
/tpb 传送至指定生物群系。 0
/tptobiome 传送至指定生物群系。 0
/tptosuitabletree Teleports the player to a position where they can chop down a tree. 1
/transferserver Transfers a player to another server. 1
/validategamelighting Validate game lighting for a specified region 1
/videostream Attempts to connect to the websocket server to send a video stream. 0 0 0
/videostreamaction Perform a videostream related action. 0 0
/villagehero Forces the Village to start bestowing the Hero of the Village effect as if you won a raid. 1
/villages Disables Drawing Village Debug Info 1
/w Sends a private message to one or more players. 0 32 64
/wb Toggle World Builder status of caller. 1 0 0
/weather 设置世界天气。 1 0 0
/whitelist Manages the server whitelist. 4 0 0
/wipeout Wipes out entities across all dimensions. 1
/worldbuilder Toggle World Builder status of caller. 1 0 0
/wsserver Attempts to connect to the websocket server on the provided URL. 2 16 0
/xp 增减玩家经验值 1 0 0