Nintendo Switch 2

Minecraft

Snydekoder, tips og tricks til Minecraft på Nintendo Switch 2.

Vist 1 gange · Opdateret 14. november 2026

Cheats · EN · 36 linjer
Cheats (commands):
These apply to Minecraft: Bedrock Edition, which is the version on Nintendo Switch 2.
Turn on "Allow Cheats" when you create a world, or later in the "Cheats" tab of the world's settings.
Note: Once cheats have been turned on in a world, you can never unlock achievements in that world again, even if you turn cheats off later.
Open the chat and type a command (all commands start with /).

Command                          Effect
------------------------------------------------------------------------
/gamemode creative               Creative mode (fly, unlimited blocks)
/gamemode survival               Back to survival mode
/difficulty peaceful             Peaceful difficulty (no hostile mobs)
/time set day                    Set the time to day
/time set night                  Set the time to night
/daylock true                    Locks the day-night cycle (alias of /alwaysday)
/weather clear                   Clear weather
/weather rain                    Rain
/weather thunder                 Thunderstorm
/give @s diamond 64              Gives you 64 diamonds (any item ID works)
/xp 100                          Gives you 100 experience points
/xp 30L                          Gives you 30 experience levels
/effect @s night_vision          Gives you a status effect
/enchant @s sharpness 5          Enchants the item you hold
/tp X Y Z                        Teleports you to the coordinates X Y Z
/locate structure village        Shows the nearest village
/summon cow                      Summons a mob (any entity ID works)
/spawnpoint                      Sets your spawn point where you stand
/clear                           Empties your inventory
/kill                            Kills you (or the targets you name)
------------------------------------------------------------------------

Game rules:
/gamerule keepinventory true     Keep your inventory when you die
/gamerule dodaylightcycle false  Stop the day-night cycle
/gamerule doweathercycle false   Stop the weather from changing
/gamerule domobspawning false    No mobs spawn naturally
/gamerule showcoordinates true   Shows your coordinates on screen
Redigeret af Claude AI · 14. november 2026 Kilder: Minecraft Wiki, Minecraft Wiki, Minecraft Wiki