# Sets the game mode for new players.# Allowed values: "survival", "creative", or "adventure"difficulty=easy# Sets the difficulty of the world.# Allowed values: "peaceful", "easy", "normal", or "hard"allow-cheats=false# If true then cheats like commands can be used.# Allowed values...
To set the game mode to Creative for the player named DigMinecraft in Minecraft 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20: /gamemode creative DigMinecraft To set the game mode to Survival for a random player: /gamemode survival @r To set the game mode to Survival for the player...
If true, the player is currently emoting. Type:boolean Notes: This property can throw errors when used. isFlying read-only isFlying: boolean; Whether the player is flying. For example, in Creative or Spectator mode. Type:boolean Notes: ...
block.setCreativeTab(CreativeTabs.tabBlock);//设置在创造模式中它在哪个菜单分类里.block.setBlockTextureName("diracon:1");//材质来源block.setBlockName("66");//名字(内部名)其中:GameRegistry.registerBlock是注册一个砖块,只有在被注册后,砖块才能正式使用,其中的字符串参数将作为砖块ID的后半部分.(完整的...
Drops the simulated player's selected item Returnsboolean Notes: This function can't be called in read-only mode. This function can throw errors. fly fly(): void Causes the simulated player to start flying as though they were flying in creative mode. For flying with Elytra, see function gl...
Values for these states are set when the block is placed. 这些状态的值会在方块被放置时设定 The PlacementPosition trait can enable the "minecraft:block_face" and/or "minecraft:vertical_half" states on a block. PlacementPosition 特征可启用 minecraft:block_face 和/或 minecraft:vertical_half 的方...
Fixed a bug causing the fire animation to flicker when the player is standing in a Lava Cauldron while in Creative mode (MCPE-148999) 修复了创造模式玩家站在装了岩浆的炼药锅中火焰动画发生异常的问题 (MCPE-148999) Fixed an issue that could cause severe visual glitches when using emotes more th...
difficulty(defaulteasy) - This sets the difficulty of the game, such as how much damage is dealt and how the elements affect your player. The options arepeaceful,easy,normal, andhard. gamemode(defaultsurvival) - This sets the gameplay mode. The options aresurvival,creative,adventure, andspectat...
13w37a 加入了/setblock、/tellraw和/testforblock命令。 13w38a 加入了/setidletimeout命令。 13w43a 加入了/setworldspawn命令。 1.814w02a 加入了/blockdata命令。 加入了目标选择器@e。 /kill命令加入了player|entity参数。 /clear命令加入了data参数。 /testfor命令加入了dataTag参数。 /testfor命令可在命...
no end. Players are enabled to do whatever they want in the game, and we see all sorts of behaviors: engaging in creative game mode, survival game modes, playing with their friends, engaging in battles with mobs, being super creative — you name it. It's a...