加入了/reload命令。 1.12-pre1 加入了游戏规则gameLoopFunction。 加入了/function命令。 1.1317w45a 命令中不同的部分现在由不同颜色标示,而即使不运行命令,错误部分也将会显示为红色。 在大部分情况下命令将不再允许出现大写字母,并运行得比以前更加快速而效率。 在目标选择器中加入了了nbt参数。 修改了
/functionRuns commands found in the corresponding function file.Game DirectorsYes /gamemodeSets a player's game mode. See more in thePopular Commands documentation.Game DirectorsYes /gameruleSets or queries a game rule value. See more in thePopular Commands documentation.Game DirectorsNo ...
command to revert back to the game state before the command was executed. you can also use this function to remove any items or blocks that were created by a command as well. it's important to keep in mind though that undoing commands won't work on every type of command, so it's ...
自动完成可应用于标签 The number of commands run through functions can be limited with the new gamerule 'functioncommandlimit' (default 10k) to limit performance issues 通过函数运行的命令数量会受到游戏规则的限制(默认为一万行),以限制性能问题Functions can now be run every tick, creating an update l...
import { world, DimensionLocation } from "@minecraft/server"; function incrementDynamicProperty( log: (message: string, status?: number) => void, targetLocation: DimensionLocation ) { let number = world.getDynamicProperty("samplelibrary:number"); log("Current value is: " + number); if (num...
import { world, ItemStack, EntityInventoryComponent, EntityComponentTypes, ItemComponentTypes, ItemDurabilityComponent, DimensionLocation } from "@minecraft/server"; import { MinecraftItemTypes } from "@minecraft/vanilla-data"; function giveHurtDiamondSword( targetLocation: DimensionLocation ) { const hurt...
The four Creative Inventory tabs now have their names read out by text-to-speech TTS 现在可朗读创造模式物品栏的四个栏位 Screen reader now describes function of "Delete World" button in the Storage menu 屏幕阅读器现在会描述存储一栏中的「删除世界」按钮功能 Tweaked the contrast of the text insid...
Commands 命令 Fixed a crash that could occur if a structure was placed with a command in an unloaded area, and that structure was deleted 修复了如果在未加载的区域使用命令放置一个结构,并且该结构被删除时游戏会崩溃的问题 Teleporting a mob between dimensions no longer causes the mob to despawn (...
断言给定位置的红石能量等级添加了 Commands.run实体函数 getComponents() - 返回支持的组件数组function ...
The Fabric Installer has full support from installing the client and the server from the command line. This could be used to automate the installation. The installer has a number of commands that can be used for a headless install. 可以直接在命令行操作选择安装服务器的版本。