大部分命令的功能与Java版1.10相同。差别在于:不支持数据标签、/clone命令无法使用forced模式、/gamemode命令仅允许指定创造模式和生存模式、/give命令中玩家目标为可选参数,以及/execute命令中实体目标为可选参数。 build 2 移除了/clearfixedinv、/setfixedinvslot及其他教育版相关的命令。 build 5 加入了/enchant命令。
with custom stats and attributes. The "/tp" command allows you to quickly move around the world, while "/weather" lets you change the environment from rain to snow. Perhaps one of the coolest commands though is "/xp" which gives out experience points for players so they can level up fas...
Server owners can use this command togive players an operator status. With an operator status, players can use some higher-level in-game commands that can affect other players and the whole server. This command can create an easy-to-manage moderation system for multiplayer servers. deop This ...
As long as you understand the basics of time and day/night cycles inMinecraft, the time command is a simple way to set the time of day in your game. Along with the weather management command, this is a handy workaround when you need access to sunlight or particular environmental conditions...
/xp Adds or removes player experience. Game Directors Yes List and summary of command argument types and enums: 展開資料表 TypeDescriptionIs Enum? block properties codebuilderargs compareoperator executechainedoption_0 filepath A `filepath` of this format: `/path/to/file`. float Must ...
enable-command-block=false max-players=20 network-compression-threshold=256 resource-pack-sha1= max-world-size=29999984 function-permission-level=2 rcon.port=25575 server-port=25565 server-ip= spawn-npcs=true allow-flight=false level-name=worldview-distance=10 ...
The world, and its lore, is already set up, and a helpful warp command means travelling between the different kingdoms (high elves, dark elves, dwarves, etc) is simple. All you need is a killer skin and an elaborate backstory in Lord Of The Craft and you’re good to go. IP Address...
Damage dealt per fallen block is increased by 1 per level of Density 致密魔咒每增加 1 级,下落...
Syntax: /enchant <player> <enchantment ID> [level] Uses: This command helps you enchant the name of a player. 16. Customize Player XP Syntax: /xp [add|set] <players> <amount> [points|levels] Uses: Use this command to add, set, remove, or check the XP of any player on the server...
import { world, ItemStack, EntityInventoryComponent, EntityComponentTypes, ItemComponentTypes, ItemDurabilityComponent, DimensionLocation } from "@minecraft/server"; import { MinecraftItemTypes } from "@minecraft/vanilla-data"; function giveHurtDiamondSword( targetLocation: DimensionLocation ) { const hurt...