Minecraft offers all players a wide variety of configuration and customization options . In fact, we can say that it is a very open title, which lets us play the way we want, with the possibility of changing aspects such as the rules of the game or its world. However, there are ways to get almost anything instantly and without using Creation Mode. In this updated guide, I tell you how to use the commands and leave you with a list of all the tricks for the game.
First of all, it is important to note that each and every one of the cheats listed here work on both the PC version and mobile devices . However, the vast majority can also be run on consoles. Some, however, will not work on all home console platforms.
How to enter commands
From there, the most important thing you need to know is that in order to enter commands , you need to have activated the relevant tab when creating the world. Also, keep in mind that if you use commands, you will not be able to unlock trophies/achievements. Also, there may be servers where cheats do not work. That said, here are the simple steps to be able to enter commands in Mojang’s game:
- The first thing to do is to open the Chat (letter T on PC). Indeed, we do not need a command console
- We write the command itself inside the chat bar. And that’s it!
All the tricks
Finally, keep in mind that all the tricks start with / . However, keep in mind that the colon that we will put after each command is not part of the command, but rather serves to tell you what each one does. Of course, it must respect any element of the word for it to work, such as a capital letter or a blank space .
List of parameters
Parameters refer to different entities in Minecraft. That is, if we have a cheat and we want to apply it to, for example, a nearby or random person, we will have to add the parameter that refers to that person. It can even be our own character. These are all the parameters that the game has:
- @p : the closest person
- @r : a random person
- @a : all the players in the world
- @e : all entities in the world
- @s : your own character
On the other hand, as we will see later, there will be tricks that require using parameters related to the coordinates . When we talk about coordinates, we will refer to the X, Y and Z axes . And as you will see, it is very simple to explain: the X axis goes from east (+) to west (-) with respect to the original spawn point; the Z axis goes from south (+) to north (-); and finally, the Y axis is the height, from 0 to 255, with 64 as sea level.
Tricks to change the weather
- /weather clear : clear weather
- /weather rain : rain
- /weather thunder : storm
- /gamerule doWeatherCycle false : keep current weather
Tips for the time of day
- /time set day : to make it day
- /time set night : to make it night
- /time set 18000 : for midnight to arrive
- /time set 12000 : for it to get dark
- /time set 6000 : for noon to arrive
- /time set 0 : for dawn to break
- /gamerule doDaylightCycle false : to stop time from passing
- /time query gametime : to return to game time
Game Mode Cheats
- /gamemode 0 : switch to Survival Mode
- /gamemode 1 : switch to Creation Mode
- /gamemode 2 : switch to Adventure Mode
- /gamemode 3 : switch to Spectator Mode
Tricks to change the difficulty
- /difficulty peaceful : switches to peaceful mode
- /difficulty easy : switches to Easy mode
- /difficulty normal : switches to Normal mode
- /difficulty hard : switches to Hard mode
Teleport
In total, we have two different ways to use teleportation tricks. The first one, however, can be dangerous if we don’t use it well. It works like this:
- /teleport charactername XYZ
Remember that, as we mentioned before, X, Y and Z are the coordinates. Therefore, you will have to enter the correct numbers depending on the place you want to go to. And don’t put a coordinate too high, because you could hurt yourself when you fall. As for “charactername”, you obviously have to put the name of your character . Let’s go now to the second and last method of teleportation, which works as follows:
- /teleport charactername ~X ~Y
The big difference with this second method is that we will be traveling horizontally , so we won’t be in danger of a big fall. This system is ideal for traveling long distances in a matter of seconds. What can happen, however, is that you end up in a place where you have to use a tool to get out, for example.
Getting gold, materials and items
This cheat is truly one of the most powerful of all. Want something? You can get it effortlessly. Want lots of that item? You can get that too. The only thing you need to keep in mind is that you will need to know the name of every item in the game in English . Luckily, the game itself has a word auto-completion system that will help you in the process. Getting any item works like this:
- /give characterName objectName objectQuantity
In this case, the only important thing to comment is that the quantity of the object must be stated in numbers and not in letters.
Enchant objects
Following exactly the same scheme , we have at our disposal a trick to enchant any object to the level we want. In that case, the command works like this:
- /enchant charactername enchantmentname enchantmentlevel
Summoning characters and NPCs
When it comes to summoning characters or entities in Minecraft, we only have to keep two things in mind. First, we can summon not only other players, but also enemies or NPCs (for example, a pig). That is, as long as that entity exists in the game. And second, putting in the coordinates will be optional. If we don’t put anything in, the summoning will be done wherever we are. This is the command in question:
/summon name XYZ
List of character/player related cheats
- /ability : Grants, removes or queries a player’s ability
- /advancement : grants, removes or verifies player progress
- /clear : to remove items from the player’s inventory
- /dropstore : Drops all items in inventory and stores them in a chest
- /effect playername|entity effect duration : applies the entered effect to the given player or entity for that many seconds. Here is the list of effects
- /effect clear playername|entity effect : removes all effects or the specified effect from the player or entity
- /experience add playername amount : Gives the specified player a given amount of experience points. If you add “levels” at the end, levels will be given instead of points.
- /gamerule keepInventory true : used to keep your entire inventory without losing anything after dying
- /kill playername : kills a character in question, whether it is you or another player
List of world related cheats
- /clone X1 Y1 Z1 X2 Y2 Z2 XYZ : clones the blocks in the area between coordinates XYZ1 and XYZ2 and places them at the XYZ coordinate
- /gamerule rule value : enables or disables a given rule, or also rectifies them if an optional one has been entered. Again, you have the list here
- /immutableworld : allows you to set the immutability of a world
- /seed : Generates a seed code with which to replicate the world
- /setworldspawn [xyz] : Sets the spawn point to your character’s current position, unless you enter a specific coordinate
Other miscellaneous tricks
- /attribute – Query, add, remove, or set an entity attribute
- /ban : to ban players
- /ban-ip : adds an IP address to the banned list
- /banlist : shows the list of banned users
- /bossbar : create and modify bossbars
- /camerashake : to enable a shaking camera effect
- /classroommode : allows editing of restricted blocks
- /code : used to access the code connection
- /collect : Collects all objects within a block from the Agent in three dimensions
- /createagent : Creates an agent at the player’s current position
- /data – Get, merge, modify, and delete data from block entities and NBT entities
- /datapack : to control the loaded data packs
- /debug : Start or stop a debugging session
- /deop : Revokes a player’s operator status
- /fill : fills a region with a specific block
- /forceload : Forces chunks to load constantly or not
- /function : executes a function
- /loot : drops items from inventory onto the floor
- /msg : Displays a private message to other players
- /op : Grants operator status to a player
- /pardon : removes entries from the blacklist
- /particle : to create particles
- /help CommandName : the game offers information about the command we want
- /freeze : freezes all entities in the game
- /instantplant : all plants grow instantly
- /waterdamage : Enables or disables water damage
- /falldamage” : Toggles fall damage on or off
- /firedamage” : Toggles fire damage on or off
- /itemdamage : Enables or disables wear on items
- /duplicate : copy and drop the object we currently have in our hand
- /superheat : converts all objects to their molten form
- /atlantis : the level of the seas and oceans rises a lot
- /ride : turns the creature we are looking at into a mounted creature
- /instantmine : to break all blocks with a single hit with any tool
- /raytracefog : adjusts the ray tracing fog
- /save : prepare a backup, check its status, or summarize it
- /save-all : save the server to disk
- /schedule : delays the execution of a function
- /setmaxplayers : to set the maximum number of players allowed to enter
- /spreadplayers : teleports entities to random locations
- /stopsound : used to stop a sound
- /worldborder : manages the world border
- /worldbuilder : enables editing of restricted blocks