HT Games

Minecraft Cheat Commands (Java & Bedrock)

Enable cheats when creating world (or /gamerule allowCheats true in Bedrock). Open chat (T or /) and enter:

Essential Commands

CommandDescriptionExample
/gamemode <mode> [player]Change mode: survival, creative, adventure, spectator/gamemode creative @p
/give <player> <item> [count]Give item/give @p diamond_sword 1
/tp <target> <location>Teleport/tp @p 100 64 100
/kill <target>Kill entity/kill @e[type=creeper]
/time set <value>Set time: day, night, noon, midnight, or ticks/time set day
/weather <type>clear, rain, thunder/weather clear
/effect give <player> <effect> [duration] [amplifier]Apply status effect/effect give @p speed 30 2
/summon <entity> [pos] [nbt]Spawn entity/summon villager ~ ~1 ~ {VillagerData:{profession:"minecraft:librarian"}}
/fill <from> <to> <block>Fill region/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 stone
/clone <begin> <end> <dest>Copy blocks/clone 0 64 0 10 70 10 100 64 100
/setblock <pos> <block>Place single block/setblock ~ ~1 ~ diamond_block

Target Selectors

  • @p nearest player, @a all players, @r random player, @e all entities, @s self.

Tips

  • Tab-completion works in chat.
  • /help lists all commands.
  • Command blocks (need op) automate complex sequences.

https://www.htfbw.com © HT Games