When you play the Bedrock version with a keyboard, you enter commands and codes just like the Java version of Minecraft. If you're in a world where cheats are enabled, press "/" to open the chat menu, which already has a glitch in the text field. Now type the command and press enter to execute it.
Cheats and commands for Minecraft players
- /kill [player]
- Kill yourself (or a tagged player).
- /tp [player] <xyz>
- Send yourself (or the designated player) to the entered coordinates
- /effect <player|entity> <effect> [duration]
- Applies an effect to the specified player or object for a limited time in seconds. Here is the list of result codes
- /effect clear <player| Body > [Effect]
- Remove all effects from a player or object, or optionally remove only certain effects.
- /letter <player> <letter> [level]
- Enlist certain player-selected items in optional levels. Here is the list of magic codes
- Add / exp <player> <number>
- It adds a certain amount of experience to certain players. Instead, arrange words at the end to add a layer of experience.
Whether you're using Bedrock or the Java version, use these shortcuts to select specific targets for your team to speed up Minecraft cheats and teams.
- @p = Player closest to you
- @r = random player
- @a = all players in the world
- @e = all animals on earth
- @s = you
Minecraft world and environment codes and commands
For coordinates, these are expressed as x, y, z , where x is east (+) or west (-) of the datum, z is the distance south (+) or north (-) of the datum, y is the elevation. From -64 to 320 where 62 sea level. You can use a tilde (~) or caret (^) to indicate an offset relative to your current location, the notation itself is ~0 or ^0, which means no offset. The tilde offset depends on world coordinates, so ~5 ~ ~-5 would be +5 block x (east), 0 block y (same elevation), and -5 block z (north). The shipping offset depends on the orientation of the player's head on the left, top, and front axes, so ^5^^-5 means 5 blocks left, 0 blocks up (same height), and 5 blocks back.
- / Seeds
- It generates original code so you can create your world later.
- /setworldspawn [xyz]
- Set the world location to the player's current location, or set additional specified coordinates if logged in.
- /gamemode <type> [player]
- Sets the type of game mode (survival, creative, adventure, or visual) for yourself or an additional player.
- /gamerule <rule> [value]
- Requests the value of the game rule or changes it if an additional value is entered. Here is a list of rule codes
- /problem <level>
- Sets the difficulty level (use Peaceful, Easy, Normal or Hard)
- /timeout <value>
- Set the world game time, using 0 (Dawn), 1000 (Morning), 6000 (Afternoon), 12000 (Autumn) or 18000 (Night) as the value.
- /gamerule doDaylightCycle is false.
- Disable day/night cycle, replace false with true to re-enable
- /weather <type> [duration]
- Sets the type of weather for the sequel (use clear weather, rain or lightning).
- /gamerule doWeatherCycle is false.
- Disable weather modification, replace false with true to re-enable.
- /clone <x1 y1 z1> <x2 y2 z2> <xy z>