/execute Executes a command on behalf of one or more entities. See more information in the Popular Commands page and the New Execute Syntax page. Game Directors Yes /fill Fills all or parts of a region with a s
BlockFluidContainerComponent BlockInventoryComponent BlockLocationIterator BlockPermutation BlockPistonComponent BlockRecordPlayerComponent BlockSignComponent BlockStates BlockStateType BlockType BlockTypes BlockVolume BlockVolumeBase ButtonPushAfterEvent ButtonPushAfterEventSignal Camera ClientSystemInfo CommandResult Compon...
import{ world, DimensionLocation }from"@minecraft/server";functioncustomCommand(targetLocation: DimensionLocation){constchatCallback = world.beforeEvents.chatSend.subscribe((eventData) =>{if(eventData.message.includes("cancel")) {// Cancel event if the message contains "cancel"eventData.cancel =true;...
Enter the world and locate the custom block in your creative inventory. Alternatively, if you didn't choose to add your block to a creative inventory tab, you can get it using the/setblockand/givecommands. 备注 Alternatively, if you have exported your add-on as a.mcaddonfile, you can op...
Command Block Language (CBL) is a C++ inspired programming language specifically designed for Minecraft commands. CBL has been designed to abstract away from commands to the point where you don't need to consider the underlying mechanics.
There are five different types of sculk blocks to be found in the deep dark. If you want to mine them, you will need to stay stealthy and use Silk Touch. The sculk block is a great decorative block thanks to its atmospheric glow. The sculk sensor is a redstone block that detects vibr...
When typing a slash command, auto-complete no longer suggests block-states that are already part of the typed command (MCPE-168055) 现在命令行中的自动补全不再会提示已经输入的方块状态(MCPE-168055) Improved performance when preparing commands, most noticeable when opening the command window for the ...
Added new experimental field "item_specific_speeds" to "minecraft:destructible_by_mining" block component 为"minecraft:destructible_by_mining" 方块组件添加了新的实验字段 "item_specific_speeds" COMMANDS 命令 Added all parameter to /reload command. This causes players to quit the world and rejoin, ...
Commands 指令 The '/summon 'command once again properly names entities, if defined /summon 指令再次能正确的命名实体了(如果定义了名字) Add-Ons and Script Engine Add-ons 和脚本引擎 Fixed spawn eggs not appearing in the Creative inventory for custom mobs ...
Commands 命令 Education Edition items are no longer shown as an option when using @e [type=] (MCPE-78363) 使用@e [type=] 时,教育版物品将不再成为选项之一 (MCPE-78363) Command Blocks with 'Needs Redstone' and a non-zero 'Delay in Ticks' will now execute only if they remain powered ...