Your thoughts on the game continue to shape new updates so please upvote and report any new bugs...
setGameMode(gameMode?: GameMode): void Sets a gamemode override for this player. Parameters gameMode?:GameMode=null Active gamemode. Notes: This function can't be called in read-only mode. This function can throw errors. setSpawnPoint
Sets the game mode that the simulated player is operating under. Parameters gameMode: @minecraft/server.GameMode Game mode to set. 重要 This function can't be called in read-only mode. 警告 This function can throw errors. setItem setItem(itemStack: minecraftserver.ItemStack, slot: number, select...
at com.mojang.blaze3d.systems.RenderSystem._setShaderTexture(SourceFile:1164) [1.17.jar:?]at com.mojang.blaze3d.systems.RenderSystem.setShaderTexture(SourceFile:1157) [1.17.jar:?]at eap.e(SourceFile:423) [1.17.jar:?]at eap.a(SourceFile:415) [1.17.jar:?]at eap.a(SourceFile:408) [...
演示模式,Java版稱作試玩模式(Demo mode),基岩版則稱作Minecraft Trial,是提供給尚未購買Minecraft,但想要試玩的玩家的版本。 Java版的演示版本可以透過在Minecraft啟動器上登入一個尚未購買遊戲的Microsoft賬號來免費遊玩,被設計用於代替已經過期的PC Gamer演示版。演示版本只包含一個單獨的種子,且有諸多限制。例如,一個...
/setblockChanges a block to another block.Game DirectorsYes /setmaxplayersSets the maximum number of players for this game session.HostYes /setworldspawnSets the location where new players or players who die will spawn in the world.Game DirectorsYes ...
setEquipment(EquipmentSlot.Head, new ItemStack(MinecraftItemTypes.GoldenHelmet)); equipmentCompPlayer.setEquipment(EquipmentSlot.Chest, new ItemStack(MinecraftItemTypes.IronChestplate)); equipmentCompPlayer.setEquipment(EquipmentSlot.Legs, new ItemStack(MinecraftItemTypes.DiamondLeggings)); equipmentCompPlayer.set...
Set methods are limited to the event object itself. Any use of restricted methods and properties will throw an exception. 所有的 before* 事件从 events 移至 world.beforeEvents 属性中,并将 before 前缀移除。在 before* 事件的回调过程中,会改变世界状态的函数会被禁用,只读方法和属性可以正常使用,同时...
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...
Please set and validate your email address through your user preferences. You can view and copy the source of this page. {{#ifeq: {{FULLPAGENAME}} | {{SITENAME}} || {{Editcopy | main page | firsttitle = the main page | [[MCW:Directors|directors]] | reason = because it is a ...