Watching your child spend hours frantically trying to navigate in front of the computer screen just to find a way home or lamenting after losing all the precious gear they've just earned, parents may sometimes wonder if there's a way to help them play games more comfortably
In this open and creatively rich world, using Minecraft commands (cheat codes) is the universal key that helps your child save time, freely test complex building ideas, and confidently survive against the harshest challenges
What are Minecraft commands?
Minecraft commands (Minecraft Commands) are commands entered in the chat box to change the game's state, summon items, teleport, or manage the Minecraft world
Knowing how to use these commands not only optimizes the single-player experience but also serves as a powerful tool to manage and smoothly connect when your child plays with friends on shared servers

How to enable cheats and enter commands in the game
How to activate the Allow Cheats mode
To use the commands, your child’s world must first be granted permission
When creating a new world, parents only need to toggle to Allow Cheats: ON
For worlds that are already in play, press Esc, choose Open to LAN (Open LAN), set Allow Cheats to ON, and click Start LAN World to finish

Quick command input on computer (PC Java & Bedrock Edition)
On a computer, simply press the / key or the T key to open the chat dialog, then type the command and press Enter
Entering commands on phones and tablets
With mobile devices running iOS or Android, your child only needs to tap the chat bubble icon at the top edge of the screen to open the keyboard and enter commands easily
A summary table of the most common Minecraft commands
To help parents and kids quickly look up commands while playing, here is a compiled list of the most commonly used commands:
|
Command |
Usage |
|
/gamemode creative |
Switch to Creative mode (unlimited resources) |
|
/gamemode survival |
Switch to Survival mode (default) |
|
/gamerule keepInventory true |
Keep all items in the inventory when the character dies |
|
/weather clear |
Stop rain, clear skies return |
|
/time set day |
Set time to day immediately |
|
/seed |
View the world seed to recreate the terrain |
|
/clear |
Remove all items in the inventory |
Note: The command syntax may vary slightly depending on whether your child is playing the PC version (Java Edition) or the mobile version (Bedrock Edition).
Basic commands to help your child start confidently
Change the game mode to unleash creativity
-
/gamemode creative: Switch to Creative mode, where your child has unlimited resources to fly around and build dream castles.
-
/gamemode survival: Switch back to Survival mode to test your courage.
-
/difficulty peaceful: Set your difficulty to Peaceful, so no monsters appear and your child can explore the world calmly.
Control time and weather at will
-
/time set day: Drive away the darkness, bringing back bright daylight immediately.
-
/weather clear: Help the sky clear up, dispelling gloomy storms.
Protective charms for survival
-
/gamerule keepInventory true: The command to keep all gear when the character dies. This is a great solution to help your child avoid the disappointment of losing everything.
-
/spawnpoint: Set the spawn point exactly at the current location. Your child just needs to type this before venturing far from home; if they die, they will respawn right there instead of having to find the main base.
-
/effect give [player_name] night_vision: Grant night vision to confidently explore dark caverns.

Master challenges with advanced command set
Teleportation spell (Teleport)
-
/tp [X] [Y] [Z]: Teleport to the exact coordinates you want on the map.
Note for kids: In Minecraft, the Y coordinate is height. If you type Y too low (below 0) or too high, the character may get stuck or fall into the void.
-
/tp [player1] [player2]: Bring two friends back together to fight side by side.
Find hidden structures
- /locate structure village: Shows the coordinates of the nearest village. From here, your child can quickly find a safe shelter and trade with villagers.
Note: In some newer versions you need to add minecraft:, e.g., /locate structure minecraft:village
-
/seed: Displays the world seed, helping your child share the coordinates of this beautiful terrain with friends.
-
/xp add [player_name] [amount]: Award experience points to the player.
-
/clear [player_name]: Clear junk or unnecessary items from the inventory to make room for new resources.
-
/kill: Instantly kill the specified entity or self-terminate to escape a tight space.
Summon entities and quickly receive items
-
/summon ender_dragon: Summon the legendary Ender Dragon before your eyes.
-
/give [player_name] diamond 64: Immediately give your child a stack of sparkling diamonds to craft powerful gear.

Common commands on Minecraft servers with Towny plugin
When joining multiplayer server worlds, your child should master some common land-management commands to protect their achievements:
Town commands
-
/town spawn: Teleport quickly to your town
-
/town deposit: Contribute to the town's building budget and development to keep it thriving
Personal land plots
-
/plot claim: Claim ownership of your private land
-
/plot add [name]: Share building rights with your close friends
Nation power
-
/n join [nation_name]: Join a broad alliance to help towns defend each other against threats
Note: These land-management commands only work on servers with a supporting plugin (such as Towny), not standard game commands
Getting comfortable with programming thinking through each Minecraft command
Getting your child used to commands with clear structure in the game is a great stepping stone to learning command thinking and conditional logic
When you type /give @p diamond_sword 1, the child is actually operating a tight sequence of logic:
Action (Give) -> Recipient (@p) -> Item received (diamond_sword) -> Quantity (1).
Understanding and mastering these parameters clearly will naturally stimulate your child's analytical thinking and problem-solving skills from a young age
Bringing the blocky world into the real world with LEGO Minecraft
After discovering the Minecraft world through commands, many kids also enjoy recreating their favorite real-world structures with LEGO Minecraft
LEGO Minecraft 21586 Pale Garden Building Set
For seven-year-olds who love mystery adventures, the LEGO Minecraft 21586 building set will bring battles from the virtual screen to the real-world desk. With 243 pieces, they can build the ancient oak tree and face the mysterious Creaking monster or the enigmatic Mothman
The model's elegant rounded design protects little hands while opening up a foggy, mesmerizing garden. Their hands can freely interact, rotate the armor, and activate the "Creaking Heart" moving smoothly in surprising ways

LEGO Minecraft 21598 Undersea Adventure (310 pieces)
At eight years old, LEGO Minecraft 21598 is the perfect companion, bringing your child’s underwater exploration journey into the real world. With 310 pieces, they can step away from the screen to build a vibrant coral reef and an ancient treasure-keep temple
Each smooth, sharp piece mimics emerald coral reefs and mischievous dolphins, awakening all of the child’s senses. The satisfying click of bricks fitting together brings joy and patience as they complete the challenge on their own

Answers to common questions about using Minecraft commands
Why does typing the command correctly still show an error?
This usually happens because Allow Cheats is not enabled for that world, or the child accidentally types an extra space or omits the leading slash / at the start of the command. Please check carefully.
Do using these commands lock the game account?
Commands are a built-in feature of the game and do not affect the account when playing in Singleplayer or family-created servers. However, when joining large public servers, please respect the community's rules.
Are commands on mobile different from those on a computer?
Most basic commands like weather, time, or game mode work well across versions. The PC version supports some more advanced command variations for long-time players.
Using smart Minecraft commands not only makes exploring the blocky world more interesting but also plants valuable logical thinking
Let Mykingdom accompany parents in cherishing your child's valuable playtime, connecting the virtual and real worlds in the most complete way
Visit the nearest Mykingdom store or official website to choose safe, high-quality LEGO Minecraft sets for your beloved child
See more
What is Minecraft? Simple Vietnamese guide to downloading Minecraft 1.21
Guide to playing Minecraft for beginners, detailed and easy to understand


