JaxCraft
Back home
SINGLEPLAYER ONLY

Command Reference

These commands only work if cheats are turned on in your own world settings.

Game Mode

SYNTAX

/gamemode <creative|survival>

WHAT IT DOES

Switches your game mode. Creative gives you unlimited blocks and flying; Survival makes you gather everything and watch your hunger.

EXAMPLE

/gamemode creative
Teleport

SYNTAX

/teleport <player> <x> <y> <z>

WHAT IT DOES

Instantly moves you (or another player) to a set of coordinates. Great for getting home fast or escaping a sticky spot.

EXAMPLE

/teleport @s 120 70 -340
Time Set Day

SYNTAX

/time set day

WHAT IT DOES

Instantly turns the world to daytime so monsters stop spawning and you can see clearly.

EXAMPLE

/time set day
Time Set Night

SYNTAX

/time set night

WHAT IT DOES

Sets the world to night. Handy if you want to fight mobs or test your base defenses in the dark.

EXAMPLE

/time set night
Weather Clear

SYNTAX

/weather clear

WHAT IT DOES

Stops all rain, snow, and thunderstorms so the sky turns blue and calm again.

EXAMPLE

/weather clear
Weather Rain

SYNTAX

/weather rain

WHAT IT DOES

Starts raining right away. Useful for testing how water behaves or growing crops faster.

EXAMPLE

/weather rain
Give Item

SYNTAX

/give <player> <item> [amount]

WHAT IT DOES

Puts items straight into your inventory. You must use the item's code name (like minecraft:diamond).

EXAMPLE

/give @s minecraft:diamond 64
Add XP

SYNTAX

/xp add <player> <amount> levels

WHAT IT DOES

Adds experience levels to a player so you can enchant your gear without grinding for it.

EXAMPLE

/xp add @s 30 levels
Summon Mob

SYNTAX

/summon <mob> [x] [y] [z]

WHAT IT DOES

Spawns a mob at a location. Use the mob's code name (like minecraft:zombie) — be careful with bosses!

EXAMPLE

/summon minecraft:cow ~ ~ ~
Difficulty

SYNTAX

/difficulty <peaceful|easy|normal|hard>

WHAT IT DOES

Changes how tough the game is. Peaceful removes all hostile mobs; Hard makes monsters hit harder.

EXAMPLE

/difficulty easy
Set Block

SYNTAX

/setblock <x> <y> <z> <block>

WHAT IT DOES

Places a single block at a specific location. Handy for fixing one spot or dropping in a block you can't reach.

EXAMPLE

/setblock ~ ~1 ~ stone
Fill Area

SYNTAX

/fill <x1> <y1> <z1> <x2> <y2> <z2> <block>

WHAT IT DOES

Fills an area with a chosen block all at once — great for quickly building floors, walls, or platforms.

EXAMPLE

/fill ~ ~ ~ ~5 ~5 ~5 stone
IMPORTANT NOTE

Only use commands in your own singleplayer world or a world where you're the owner/admin. Using unfamiliar commands on someone else's server can cause problems.

HOW TO TURN ON CHEATS

Enabling Cheats In Your World

  1. 1When creating a new world, find the "Allow Cheats" toggle and turn it ON.
  2. 2For an existing world: open it to LAN from the pause menu and set "Allow Cheats" to ON.
  3. 3Open chat (press T on keyboard, or the chat button on mobile) and type your command. Always start with a forward slash /