Cheats in Minecraft split into things the developers built and things they did not, and the difference matters.
Short answer
Use the codes built into the game, in single-player only, after making a separate save.
Console commands and cheat codes are different systems with different consequences. Codes are usually case-insensitive but rarely space-insensitive. Everything below is framed around the current state of Minecraft rather than a launch-week impression.
Achievements and save files
Some effects stack in ways the developers did not intend and the game does not handle gracefully. Case and spacing matter more than the lists suggest. Consensus and correctness overlap less than the upvote count suggests. Codes entered correctly and rejected usually mean the wrong platform variant.
Controller-entered codes need rhythm rather than speed. Plenty of advice online is correct for a situation nobody bothered to specify. A code that worked on an older patch may have been removed rather than changed.
What gets you banned
If a site asks you to sign in to receive a code, it is not a code. It helps to understand why a step exists, because then you can adapt it when your situation is slightly different. A code that softlocks a mission is a known risk in more than one of these games.
- Enter codes exactly, including spacing.
- Check the code is for your exact platform.
- Check the version you are actually running before assuming anything is broken.
- Never use any of this in an online mode.
- Check the patch date on any code list.
- Try the simplest explanation before the interesting one.
Anything promising online effects
Codes typically do not persist through a reload, which surprises people who use them for convenience. Where the game contradicts its own documentation, the game wins. Console entry uses button sequences with tight timing, and mistiming reads as a broken code. Anything requiring an external program is a different category with different risks attached.
The useful part of any answer is the part that tells you what to do differently. Some effects cannot be undone within a save, and the game does not always warn you first. Glitches get patched and codes tend not to, which makes codes the more durable option.
How to enter them
The awkward part is rarely the step itself, it is knowing which step comes first. Achievement locking is usually per-save rather than per-account, but not always. Single-player cheats are a supported feature; the same behaviour online is a ban.
Minecraft is not shy about hiding useful information two menus deep, so some of this is simply knowing where to look. Anything that requires downloading a program is not a cheat code. A cheat menu built into the game cannot get you banned, whatever the forum says.
Codes that stopped working
A single check up front replaces a lot of guessing later. Anything that alters save state can corrupt it, which is why a separate save is worth the ten seconds. Enabling cheats disables achievements in most games, and the warning is easy to miss.
Where people go wrong
- Testing on a modified install and reporting the result as normal behaviour.
- Assuming a guide from an older season still describes the current version.
- Trusting a video thumbnail that promises a result the video never actually shows.
- Taking the highest number in a comparison without checking what it was measured on.
Minecraft FAQ
Why do other guides describe this differently?
Most were written for an earlier version and never revisited. Compare the steps against what your build actually shows.
Is this still accurate after the latest Minecraft update?
The method is; individual numbers may not be. If a value on your screen differs, trust the screen and keep the sequence.
Do I need any mods or third-party tools for this?
No. Everything described here works with the base game on any supported platform.
How long does this take?
Minutes if it goes cleanly, an evening if you hit the edge case in the caveats list. Neither is unusual.
Anything that shifts with the next Minecraft update will show up as a changed number, not a changed approach.