Minecraft cheat codes for Java Edition
How to enter Java Edition cheats
Turn on Allow Cheats for the world, open chat with T or /, type the command and press Enter.
All codes
-
Add experience
xp add -
Change game mode
gamemodeChanges the game mode.
-
Fill blocks
fill -
Give effect
effect give -
Give item
giveGives a diamond to the nearest player.
-
Kill
kill -
Set difficulty
difficulty -
Set game rule
gamerule -
Set time
time set -
Set weather
weather -
Summon entity
summon -
Teleport
teleport
No codes match your filter. Search all games
12 Minecraft cheats for Java, each shown as the text to type. They cover player, movement, world & weather, items and characters & relationships. Tap a code to copy it.
We compare codes with independent sources where we can; each code shows how many it was matched on. How we check codes