The risk in cheats is rarely the cheat itself and usually where you used it.
Short answer
They work in single-player only. Anything promising the same online is a scam or a ban waiting to happen.
Anything that alters save state can corrupt it, which is why a separate save is worth the ten seconds. Some effects stack in ways the developers did not intend and the game does not handle gracefully. Older threads are worth reading for the reasoning rather than the conclusions.
Codes that no longer work
Some effects cannot be undone within a save, and the game does not always warn you first. Anything requiring an external program is a different category with different risks attached. What looks like a rule is often a default that nobody ever changed. Glitches get patched and codes tend not to, which makes codes the more durable option.
A cheat menu built into the game cannot get you banned, whatever the forum says. Half of what gets described as a bug is a design decision people dislike. If a site asks you to sign in to receive a code, it is not a code.
What counts as a cheat here
Console entry uses button sequences with tight timing, and mistiming reads as a broken code. If this seems to describe a different version, it probably does, and that is the thing to check first. A code that softlocks a mission is a known risk in more than one of these games.
- Check the code is for your exact platform.
- Ignore any code that requires signing in somewhere.
- Confirm your platform matches the one being described.
- Ignore any list that asks you to install something first.
Before you enable anything
Codes typically do not persist through a reload, which surprises people who use them for convenience. Treat anything stated without a version number as provisional. Enabling cheats disables achievements in most games, and the warning is easy to miss. Codes are usually case-insensitive but rarely space-insensitive.
Most of the disagreement you will find online is two people describing different builds. Console commands and cheat codes are different systems with different consequences. Controller-entered codes need rhythm rather than speed.
Achievements and save files
The developers have changed their mind about this at least once, which explains the older advice. Case and spacing matter more than the lists suggest. Anything that requires downloading a program is not a cheat code.
Do the cheap check before the expensive one — that ordering alone saves most of the frustration. Codes entered correctly and rejected usually mean the wrong platform variant. Single-player cheats are a supported feature; the same behaviour online is a ban.
What you give up
If a step reads as obvious, do it anyway — the obvious ones are the ones people skip and then wonder about. A code that worked on an older patch may have been removed rather than changed. Achievement locking is usually per-save rather than per-account, but not always.
Where people go wrong
- Downloading a helper tool for something the game already does in its own menu.
- Copying a setup wholesale from a streamer without understanding what each part does.
- Believing a figure that has no date attached to it.
Minecraft FAQ
Does this work the same on console and PC?
The logic is identical. Menu paths and button prompts differ, and any real difference is flagged above.
Do I need anything else set up first?
No. Where a step assumes something, it says so at that point rather than up front.
Is there a faster way to do this?
Usually, and it usually trades reliability for speed. Which one you want depends on whether you plan to repeat it.
Why does the community disagree about this?
Because most disagreements are two people describing different versions, platforms or skill levels without saying which.
Worth a second look after the next Minecraft update, since roughly one thing here will have moved.