AAither Gaming
← Back to Aither Gaming

AITHER GAMING • MINECRAFT COMMAND CENTER

Minecraft Help

A much bigger Minecraft reference for commands, command blocks, selectors, teleporting, items, effects, entities, gamerules, redstone automation, troubleshooting, Java Edition, Bedrock Edition, and quick command generation.

Command Basics

Start here if commands are new to you.

Getting started

/help/help teleport/help give

Commands require the appropriate permissions/cheats for your world or server.

Command structure

/command target arguments

Most commands follow a command name, followed by a target and additional arguments. Always check your exact Minecraft version because syntax changes over time.

Chat shortcuts

Press Tab to autocomplete many commands, players, coordinates, and IDs. Use the up arrow to recall previous commands.

Permissions

In single-player, enable cheats when creating the world or temporarily open the LAN menu and enable cheats. Servers may use operator permissions.

Target Selectors

Basic selectors

@s — yourself @p — nearest player @a — all players @r — random player @e — all entities

Useful selector filters

@e[type=minecraft:zombie] @e[type=minecraft:item] @a[distance=..10] @a[name=Steve] @e[limit=1,sort=nearest]

Exact selector arguments differ between Java and Bedrock.

Relative coordinates

~ ~ ~ current position ~1 ~ ~ one block east ~ ~5 ~ five blocks up ~ ~ ~-10 ten blocks south

Local coordinates

^ ^ ^ ^ ^ ^5

Local coordinates are relative to the executor's facing direction and are especially useful for command-machine builds.

Teleport & Movement

Basic teleporting

/tp @s 100 64 100/tp @a 0 80 0/tp @p @s

Teleport with rotation

/tp @s 100 64 100 90 0

Rotation syntax varies by edition/version.

Spawn points

/setworldspawn/spawnpoint @s/spawnpoint @a 0 64 0

Find structures

/locate structure minecraft:village/locate structure minecraft:stronghold

Structure IDs depend on edition and version.

Items & Inventory

Give items

/give @s minecraft:diamond 64/give @p minecraft:command_block 1/give @s minecraft:elytra 1

Clear inventory

/clear @s/clear @a minecraft:dirt

Popular item IDs

minecraft:diamond minecraft:netherite_ingot minecraft:elytra minecraft:totem_of_undying minecraft:command_block minecraft:barrier

Item troubleshooting

If an item command fails, check spelling, edition, version, and whether your command syntax expects components, data values, or another format.

Players & Gamemodes

Gamemode

/gamemode survival @s/gamemode creative @s/gamemode adventure @s/gamemode spectator @s

Messaging

/say Hello!/tell @p Hello!/tellraw @a {"text":"Hello!"}

Advanced text JSON differs between editions.

Titles

/title @a title {"text":"Welcome!"}/title @a subtitle {"text":"Aither Gaming"}

Experience

/xp 10 levels @s

XP syntax varies by edition/version.

Effects

Apply effects

/effect give @s minecraft:speed 60 1/effect give @s minecraft:strength 30 2/effect give @a minecraft:night_vision 600 0

Remove effects

/effect clear @s/effect clear @a minecraft:speed

Common effects

speed strength jump_boost regeneration resistance fire_resistance night_vision invisibility haste slow_falling

World, Weather & Time

Weather

/weather clear/weather rain/weather thunder

Time

/time set day/time set night/time set noon/time add 1000

World spawn

/setworldspawn/setworldspawn 0 64 0

Difficulty

/difficulty peaceful/difficulty easy/difficulty normal/difficulty hard

Entities & Mobs

Summon

/summon minecraft:zombie ~ ~ ~/summon minecraft:lightning_bolt ~ ~ ~/summon minecraft:armor_stand ~ ~ ~

Kill selected entities

/kill @e[type=minecraft:item]/kill @e[type=minecraft:arrow]

Be extremely careful with broad /kill selectors.

Mob control

/gamerule doMobSpawning false/gamerule doMobSpawning true

Entity selector examples

@e[type=minecraft:zombie,distance=..20] @e[type=minecraft:creeper,limit=1,sort=nearest]

Blocks & Building Commands

Set one block

/setblock ~ ~-1 ~ minecraft:diamond_block/setblock 0 64 0 minecraft:stone

Fill an area

/fill 0 64 0 10 64 10 minecraft:stone/fill 0 64 0 10 70 10 minecraft:air

Clone areas

/clone 0 64 0 10 70 10 20 64 20

Clone syntax and modes differ by edition/version.

Build tip

Use relative coordinates to make reusable command systems that work wherever the machine is moved.

Command Blocks

Get a command block

/give @s minecraft:command_block 1

Impulse

Runs once when powered. Great for buttons, levers, traps, doors, and one-time actions.

Repeating

Runs repeatedly while active. Useful for clocks, detection systems, timers, and continuous effects.

Chain

Runs after the previous command block in a chain. Use it to build multi-step command systems.

Always Active

Removes the need for a redstone power signal. Useful for repeating and chain systems.

Conditional

Runs only when the preceding command block succeeds. Useful for branching command logic.

Safety tip: Test command machines in a copy of your world first. Broad selectors such as @a and @e can affect a lot of entities.

Command Automation Ideas

Automatic welcome

Repeating block detects nearby players, followed by chain blocks for a title, message, and effect.

Mob arena

Use /summon, selectors, effects, scoreboards, and conditional chains to create rounds.

Teleport pads

Detect a player standing on a specific block, then teleport them to a destination.

Parkour checkpoints

Combine /spawnpoint, coordinates, and detection commands to make checkpoints.

Countdowns

Use scoreboard values and repeating/chain command blocks to display a countdown.

Custom shops

Use item detection, scores, commands, and NPCs/entities to create a command-powered shop.

Gamerules

RulePurposeExample
keepInventoryKeep inventory after death./gamerule keepInventory true
doDaylightCycleControl whether time advances./gamerule doDaylightCycle false
doMobSpawningControl natural mob spawning./gamerule doMobSpawning false
doWeatherCycleControl natural weather changes./gamerule doWeatherCycle false
mobGriefingControl certain mob world interactions./gamerule mobGriefing false
commandBlockOutputControl command block feedback./gamerule commandBlockOutput false

Gamerule availability and names can differ by Minecraft edition and version.

Java Edition vs Bedrock Edition

Java Edition

Java generally has extensive command, datapack, function, and technical-building capabilities. Syntax can differ significantly from Bedrock.

Use the Java filter above when browsing edition-specific notes.

Bedrock Edition

Bedrock runs across many platforms and has its own command syntax, selector arguments, components, and behavior.

Always verify a command against your Bedrock version.

Why commands fail

A command copied from a different edition or an older/newer version may be invalid even if it looks correct.

Quick Command Generator

Build a few common commands without remembering the syntax.

/give @s minecraft:diamond 64

Troubleshooting

“Unknown command”

Check spelling, edition, version, permissions, and whether cheats/operator access are enabled.

“Incorrect argument”

Use Tab completion and /help command. Check every argument in the order shown by your game.

Command works but affects nothing

Check the target selector, coordinates, distance, entity type, and whether the target actually exists.

Command block does nothing

Check power/Always Active, command text, conditional mode, chain direction, and command-block permissions.

Teleport went somewhere weird

Remember that ~ means relative coordinates. Check whether the command is executing from a player, command block, or another entity.

Need the exact syntax?

Use the in-game /help command and Tab completion for the exact command syntax supported by your installed version.

Quick Reference

Most-used commands

/tp /give /summon /effect /gamemode /time /weather /setblock /fill /clone /locate /gamerule /kill /clear

Useful targets

@s yourself @p nearest player @a all players @r random player @e entities

Remember

Java ≠ Bedrock. Minecraft commands are powerful, but exact syntax depends on your edition and version. When in doubt, check the game's own command help.