To bring up your "Commands bar", press the "C" key. This can also be changed in your settings to any key you want. When the "Commands" bar pops up, type these codes below. This only works for single-player mode. You also have to enable cheats when creating a new world.
Effect | Code
|
---|
| - Moves you to the next platform above your position.
|
| |
| - Tells you what biome you are currently in.
|
| - Brings a specified entity to you.
|
| - Shoots a primed TNT block toward where you're pointing.
|
- chest [drop/get/fill/swap]
| - Access commands of chests.
|
| |
| - Toggles the clarity of the water on/off.
|
| - Clones the block being pointed at.
|
|
| |
| - Cycles through the painting you are pointing at.
|
| - Toggles player damage on/off.
|
| - Defuse all nearby TNT that is active.
|
| - Moves you to the next platform below your position.
|
| - Destroys the current item.
|
| - Toggles difficulty from 0 (Peaceful), 1 (Easy), 2 (Medium), and 3 (Hard).
|
| - Transfers everything from your inventory to a chest, which is spawned next to you.
|
| - Duplicates and drops the current item stack you're holding.
|
| - Sets off an explosion in your area.
|
| - Toggles player fall damage on/off.
|
| - Toggles player fire damage on/off.
|
- flammable [block] [catch/spread]
| - Sets the specified block at a specified flammability level.
|
| - Allows the player to fly at a specified speed.
|
| - Freezes mobs so they can't move or attack you.
|
| |
| - Grows all wheat and spruce trees on the map.
|
| - Heals the player at a specified number of health points.
|
- health [min/max/infinite]
| - Refills health to a specified level.
|
| - Gives more information on the specified command.
|
| - Teleport to the spawn point.
|
| - Toggles infinite items on/off.
|
| - Instantly kills the animal or monster you hit.
|
| - Toggles "Instant mine" on/off.
|
| - Instantly grows what you plant.
|
| - Toggles breakage or usage of an item on/off.
|
| - moves you from where you are to where you're pointing.
|
| - Keeps your items after you die.
|
| - Kills the current player.
|
| - Kills a specified type of mob.
|
- killnpc [all/animal/monster]
| - Kills specified living things nearby.
|
| - Toggles permanent lighting on/off.
|
| - Lists all waypoints on the map.
|
| |
| - Mobs can't give you damage.
|
| - Puts a glass block under your feet.
|
- rename [command name] [newname]
| - Renames a command name to a new command name of your choice.
|
| - Allows you to ride the living creature you are pointing at.
|
- setspawn [x-coordinate] [y-coordinate] [z-coordinate]
| - Sets the spawn point to a specified coordinate.
|
| - Sets the speed in which the player moves to a specified speed/resets it.
|
| - Change the player skin to any Minecraft skin.
|
| - Makes the specified blocks slippery.
|
- spawn [name/ID/random/list] [quantity]
| - Spawns an individual creature.
|
| |
| - Turns all items into their smelted form. Ex.: Sand turns into glass.
|
- tele [x-coordinate] [y-coordinate] [z-coordinate]
| - Teleport to a specified coordinate.
|
| - Automatically teleports you to the Nether. Use this command again to go back.
|
| - Toggles player water damage on/off.
|
- weather [lightning/thunder/rain]
| |
- world [load/save/seed/new/exit/list/backup]
| - Controls your game save from the "Command" bar.
|