Console Commands Usage in Java and Bedrock Editions Explained

15 Jun 2024

How to Enter Console Commands in Java Edition

If you’re running the Java Edition of Minecraft, enabling cheats is very simple. Start by creating a new world and make sure that the Allow Cheats option is set to On. Create your world and open the chat menu by hitting /. In this box, you can now begin entering any console commands to activate the cheat of your choice.

If you want to use cheats in an existing world, you can do so by going into the menu and selecting Open to LAN. From there you can toggle the Allow Cheats option.

How to Enter Console Commands in Bedrock Edition

On the Bedrock Edition, the process is slightly different. Create or load into a world and open the menu. Go to the Cheats tab and toggle them On. Now, just like in Java, you can open the chat menu and input / to start entering commands. If you’re playing with a controller, you will need to hit right on the D-pad and then select your cheat from a list of options or type using the digital keyboard.

All Console Commands

Game Mode Cheats

  • /gamemode 0 – Switch to Survival mode
  • /gamemode 1 – Switch to Creation mode
  • /gamemode 2 – Switch to Adventure mode
  • /gamemode 3 – Switch to Spectator mode
  • /tp [player] [x, y, z] – Teleports the player to the command’s specific coordinates
  • /gamerule dofiretick false – Fire does not spread
  • /gamerule dodaylightcycle false – Stop the day and night cycle in the game

Player Cheats

  • /kill @r – You will eliminate a random player
  • /kill @e – You will remove all entities
  • /kill @a – You will eliminate all players
  • /kill @p – You will eliminate the closest player
  • /give [item] [quantity] – Add the specified item and quantity to a player’s inventory
  • /ride – You will transform the creature you are looking at into a mount
  • /instantmine – It will take just one hit to destroy blocks and extract materials

Enchantment Cheats

  • /enchant [Player name] [aqua_affinity] [Enchantment level] – Aquatic Affinity
  • /enchant [Player name] [baneofarthropods] [Enchantment level] – Bane of the Arthropods / Nightmare of the Arthropods
  • /enchant [Player name] [binding_curse] [Enchantment level] – Curse of Linkage
  • /enchant [Player name] [blast_protection] [Enchantment level] – Explosion protection
  • /enchant [Name of player] [channeling] [Enchantment level] – Conductivity
  • /enchant [Player name] [depth_strider] [Enchantment level] – Aquatic agility
  • /enchant [Player name] [efficiency] [Enchantment level] – Efficiency

World Cheats

  • /time set 18000 – You will change the time to midnight
  • /time set 6000 – You will change the time at noon
  • /difficulty [peaceful/easy/normal/hard] – You will change the level of difficulty to that indicated in the command
  • /summon – You will invoke the corresponding entity (a full list can be found here)
  • /atlantis – You will raise the sea level in the world
  • /weather [clear/rain/thunder] – You will change the world’s climate to the one indicated in the command

Top charts for Desktop

uTorrent

uTorrent

Latest update uTorrent download for free for Windows PC or Android mobile

5
1032 reviews
7508550
downloads
Zona

Zona

Latest update Zona download for free for Windows PC or Android mobile

4
614 reviews
1735299
downloads
WinRAR

WinRAR

Streamline file management with fast compression, secure your documents, and save space.

5
735 reviews
746710
downloads
Minecraft

Minecraft

Shape environments, explore vast worlds, and survive against monsters with endless creativity.

5
750 reviews
495566
downloads

News and reviews for Desktop

Visio 2021 Professional Now $9.97 Until February 8

Microsoft offers Visio 2021 Professional for $9.97, down from $249, with added templates, until February 8.

Read more

Code Vein Offers Stylish Combat, Discounted Editions

Code Vein captivates with anime-style combat and offers discounted editions. Fast-paced action meets fun builds in this cult classic.

Read more

Microsoft Phases Out RC4 in Kerberos for Windows Security

Microsoft to eliminate RC4 in Kerberos by July 2026, enhancing Windows security.

Read more

Highguard Faces Criticism but Shows Potential for Growth

Highguard, launched with controversy, holds potential despite poor reviews. Offering genre innovation, it aims to evolve against negative feedback.

Read more

PS2Recomp Boosts Native PS2 Games with Recompilation

PS2Recomp, a new tool, promises enhanced native PS2 game ports, sparking interest among developers for PC platforms.

Read more

NVIDIA Introduces RTX Remix Logic for Classic Game Mods

NVIDIA's RTX Remix Logic, launched on 2026-01-27, enables dynamic modding of classic PC games with a no-code node-based interface.

Read more

Windows 11 Update KB5074109 Affects Legacy Modems

The Windows 11 update KB5074109 disrupts modems by removing several legacy drivers, causing connectivity issues for select users.

Read more

Anytype Replaces Notion, Obsidian, and Todoist for Unified Workflow

Anytype consolidates Notion, Obsidian, and Todoist functions, reducing context-switching and improving workflow efficiency.

Read more

ReBlade: Cyberpunk Roguelike Announced by ChillyRoom

ReBlade from ChillyRoom and Spiral Up Games announced for PC: cyberpunk roguelike offers high-speed action in a dystopian setting.

Read more

Artorias Battles Elden Ring Bosses in New Video Showcase

Artorias from Dark Souls faces Elden Ring bosses, demonstrating impressive skills in Fights' YouTube video.

Read more