We've got a full list of Minecraft Console Commands & Cheats that will be useful to you for all patches and platforms! These are extremely good to know, because you might find yourself wanting to switch modes quickly or just want to finish a tedious task. These commands will work on your Xbox One, Switch, and Mobile version of Minecraft!
How-to Use Console Commands in Minecraft
First, when creating your world make sure to check the Allow/Activate Cheats option. The button to press now depends on the platform you are playing the game on. Here's a list of what you'll need to press to access the console command menu:
- Xbox One: Press right on the D-Pad.
- Nintendo Switch: Press the right direction button on your Joy-Con, or right on the D-Pad of your Pro Controller.
- PC/Mac (Windows 10 or Java): You can press T or you can press the forward slash (/) key.
Unfortunately, if you're on a PS4 you can't really enter commands. You can just change a few options if you have host privileges.
Flying Command in Minecraft
There is no direct command in Minecraft that will make you fly. You can change the mode of the game using the "/gamemode creative" command, and this will allow you to press jump twice and will get you up in the air! If you want to fly even faster (on PC), you can go into Spectator mode. This requires you to press "F3 + N" at once, and gives you the ability to fly around freely and go through walls. You can scroll your mouse-wheel up or down to increase or decrease the speed. This is the fastest way to get around other than using the teleport command!
Minecraft Console Commands & Cheats List
Here's a list of a bunch of commands that you should find useful in the game. It might be trying out a new Minecraft Seed before testing these commands on your main world!
If you want some additional information on a certain command, you can use this:
- /help [CommandName]
Player Targeting Commands
These can be added in place of the [Player] variable that you will see in many of the following commands.
- @s - Targets yourself, or the person executing the command.
- @p - Closest player to you.
- @r - Random player in your game.
- @a - All players in your game.
- @e - All entities in the game. These include animals and monsters.
You can enchant the current item you are holding with specific enchants if you'd like with this command. You can only use this on items that can be enchanted, and the level has to be one that exists. Check out our guide on Minecraft Enchantments to learn more.
- /enchant [Player] [Enchantment Type] [Level]
Example: /enchant @s minecraft:fortune 3
You could use this example to give a pickaxe Fortune 3 by using this command!
This is pretty useful if you want to enchant some stuff, but don't want to bother grinding out monsters!
- /experience add [Player] [Amount]
- /xp works as well!
If you're getting tired of monsters spawning, or you want your health to regenerate quicker then this is the command to use! You've got these options: easy, hard, normal, and peaceful.
- /difficulty [Type]
This is incredibly useful if you're creating some content or just in need to bounce the mode back and forth. You have four different options: adventure, creative, spectator, and survival.
- /gamemode [Type]
If you'd like to give a certain amount of items to a specific player or yourself, then you would use the give command.
- /give [Player] [Item] [Amount]
Example: /give @s minecraft:book 5
In this example, we are giving yourself 5 books. Each item starts with "minecraft:" which is why it appears there. The game should have a list of items that will auto-complete as you type them in. For wood items, you will need to start the name out with the particular wood you want the item to be.
If you wanted to respawn yourself or terrorize your friends, you can use this command.
- /kill [Player]
Shows you a list of players that are currently on your server.
Gives you the coordinates of the nearest structure of that type! This can be buried treasure, pyramids, fortresses, etc.
- /locate [Structure]
This command will output your current seed number.
This is similar to give, but you are able to summon an entity like a monster or animal instead. It will summon whatever you choose right where you are at, or you can add a position.
- /summon [Entity]
This is a pretty useful command that will teleport you or someone else to a specific coordinates. The Y coordinate will determine what block height you end up at. If you want to just teleport to your current height, you can use "~" in that spot instead of a specific number. This can also be used in either the X or Z spot if you want to maintain your current coordinate of either of those options.
- /tp [Player] x y z
I find this command pretty useful for when I'm bouncing between the game and something else. You can set a specific time or you can do a general one just to change your lighting situation. Here's the set options: day, midnight, night, or noon. You can also do it by number, where 0 is dawn and starts the day.
- /time set [Type or #]
- /time add [#]
This will change the current weather. You can use clear, rain, or thunder as your different types.
- /weather [Type]
That's it for the commands! If you want to do a whole lot more customizing to your game, be sure to check out our look at Minecraft Mods. There's also a bunch of fun Minecraft Houses you can build that will give your new world some excitement!