All Minecraft Java Edition commands (26.3)

94 commands in Java 26.3, read from the game itself. Filter the list or open a command for syntax, examples and its full version history.

World & Blocks 15

CommandWhat it doesPermissionAdded in
/cloneLearn how to use the /clone command in Minecraft Java Edition to copy, filter, and move regions of blocks across coordinates or different dimensions.Level 2
/difficultyLearn how to use the /difficulty command in Minecraft Java Edition to check or change your world difficulty between peaceful, easy, normal, and hard.Level 2
/fillLearn how to use the /fill command in Minecraft Java Edition to place, replace, hollow out, or outline large regions of blocks between two coordinates.Level 2
/fillbiomeLearn how to use the /fillbiome command in Minecraft Java Edition to change the biome of a specific 3D area, with syntax rules and working examples.Level 21.19.3
/forceloadLearn how to use the /forceload command in Minecraft Java Edition to add, query, and remove force-loaded column positions using simple X and Z coordinates.Level 21.13.1
/gameruleLearn how to use the /gamerule command in Minecraft Java Edition to check or change world settings like keeping inventory, time progression, and damage.Level 2
/locateLearn how to use the /locate command in Minecraft Java Edition to find the nearest biomes, structures, and points of interest with exact syntax and examples.Level 2
/placeLearn how to use the /place command in Minecraft Java Edition to generate features, structures, jigsaws, and templates at specific coordinates with options.Level 21.19
/seedLearn how to use the /seed command in Minecraft Java Edition to check your world seed, along with its permission level 2 requirements and syntax.Level 2
/setblockLearn how to use the /setblock command in Minecraft Java Edition to place, replace, or remove a single block at specific coordinates in your world.Level 2
/setworldspawnLearn how to use the /setworldspawn command in Minecraft Java Edition to move the default world spawn point with custom coordinates and rotation.Level 2
/timeLearn how to use the /time command in Minecraft Java Edition to set, add, pause, resume, query, or change the rate of time in your world.Level 2
/waypointLearn how to use the /waypoint command in Minecraft Java Edition to list waypoints, change their team or hex colors, and update or reset their styles.Level 21.21.6
/weatherLearn how to use the /weather command in Minecraft Java Edition to switch between clear skies, rain, or thunderstorms and set custom weather durations.Level 2
/worldborderLearn how to use the /worldborder command in Minecraft Java Edition to set the border size, move the center, adjust damage, and change warning settings.Level 2

Players & Entities 18

CommandWhat it doesPermissionAdded in
/advancementLearn how to use the /advancement command in Minecraft Java Edition to grant or revoke player advancements using simple syntax, arguments, and examples.Level 2
/attributeLearn how to use the /attribute command in Minecraft Java Edition to read, set, reset, and modify base values and modifiers on players and entities.Level 21.16
/damageLearn how to use the /damage command in Minecraft Java Edition to apply specific damage amounts to a target player or entity using selectors and decimal values.Level 21.19.4
/defaultgamemodeLearn how to use the /defaultgamemode command in Minecraft Java Edition to set the starting game mode for your world with syntax, arguments, and examples.Level 2
/effectLearn how to use the /effect command in Minecraft Java Edition to give or clear status effects on players and entities, including infinite durations.Level 2
/experienceLearn how to use the /experience command in Minecraft Java Edition to add, set, or check experience points and levels for yourself or other players.Level 2
/gamemodeLearn how to use the /gamemode command in Minecraft Java Edition to switch between survival, creative, adventure, and spectator modes for any player.Level 2
/killLearn how to use the /kill command in Minecraft Java Edition to eliminate yourself, specific players, or other entities using target selectors and UUIDs.Level 2
/rideLearn how to use the /ride command in Minecraft Java Edition to make targets mount vehicles or dismount from them, with syntax and examples.Level 21.19.4
/rotateLearn how to use the /rotate command in Minecraft Java Edition to turn players and entities toward specific angles, coordinates, or other targets.Level 21.21.2
/spawnpointLearn how to use the /spawnpoint command in Minecraft Java Edition to set custom respawn coordinates and rotation for yourself or other players.Level 2
/spectateLearn how to use the /spectate command in Minecraft Java Edition to force a player to view the game through another target, or stop spectating.Level 21.15
/spreadplayersLearn how to use the /spreadplayers command in Minecraft Java Edition to randomly scatter players, teams, and entities around a central coordinate.Level 2
/summonLearn how to use the /summon command in Minecraft Java Edition to spawn any entity at specific coordinates and customize it using NBT data tags.Level 2
/swingLearn how to use the /swing command in Minecraft Java Edition to play mainhand and offhand swing animations on players and entities with custom durations.Level 226.1
/teleportLearn how to use the /teleport command in Minecraft Java Edition to move players and entities to coordinates or targets, and set their facing direction.Level 2
/tpLearn how to use the /tp command in Minecraft Java Edition, a short alias for /teleport that requires operator permission level 2 to move across the world.Level 2
/xpLearn how to use the /xp command in Minecraft Java Edition, an operator shortcut that works as a direct alias for the /experience command in the game.Level 2

Items & Inventory 6

CommandWhat it doesPermissionAdded in
/clearLearn how to use the /clear command in Minecraft Java Edition to remove all items, specific items, or item tags from a player's inventory.Level 2
/enchantLearn how to use the /enchant command in Minecraft Java Edition to apply enchantments to items held by players or entities, including syntax and examples.Level 2
/giveLearn how to use the /give command in Minecraft Java Edition to grant items, custom counts, and enchanted gear to yourself or other players.Level 2
/itemLearn how to use the /item command in Minecraft Java Edition to replace, fill, override, or modify items inside block and entity inventory slots.Level 21.17
/lootLearn how to use the /loot command in Minecraft Java Edition to give, insert, or replace items from loot tables, block drops, and entity kills.Level 21.14
/recipeLearn how to use the /recipe command in Minecraft Java Edition to give or take specific or all crafting recipes for players using target selectors.Level 2

Logic & Scoreboard 11

CommandWhat it doesPermissionAdded in
/bossbarLearn how to use the /bossbar command in Minecraft Java Edition to create, customize, and display custom progress bars for players on your server.Level 2
/dataLearn how to use the /data command in Minecraft Java Edition to read, merge, and modify NBT data on blocks, entities, and storage with working examples.Level 2
/executeLearn how to use the /execute command in Minecraft Java Edition to change who runs a command, move the execution position, and check conditions.Level 2
/functionLearn how to use the /function command in Minecraft Java Edition to execute data pack functions and pass NBT arguments from blocks, entities, or storage.Level 2
/randomLearn how to use the /random command in Minecraft Java Edition to roll numbers, pick values from a range, and reset random sequences with custom seeds.1.20.2
/returnLearn how to use the /return command in Minecraft Java Edition to output whole numbers, indicate a failure, or run another command with clear examples.Level 21.20
/scheduleLearn how to use the /schedule command in Minecraft Java Edition to delay data pack functions or clear scheduled functions using ticks, seconds, or days.Level 21.14
/scoreboardLearn how to use the /scoreboard command in Minecraft Java Edition to create objectives, track player scores, change displays, and perform math operations.Level 2
/tagLearn how to use the /tag command in Minecraft Java Edition to add, remove, and list custom text labels on players and entities using target selectors.Level 2
/teamLearn how to use the /team command in Minecraft Java Edition to create teams, add members, change colors, toggle friendly fire, and adjust nametags.Level 2
/triggerLearn how to use the /trigger command in Minecraft Java Edition to modify scoreboard objectives by adding or setting whole number values with examples.

Chat & Text 10

CommandWhat it doesPermissionAdded in
/dialogLearn how to use the /dialog command in Minecraft Java Edition to show or clear dialogs for specific players using target selectors and dialog IDs.Level 21.21.6
/meLearn how to use the /me command in Minecraft Java Edition to send custom action messages and resolve target selectors into names in the game chat.
/msgLearn how to use the /msg command in Minecraft Java Edition to send messages directly to one or more players using names, UUIDs, or target selectors.
/sayLearn how to use the /say command in Minecraft Java Edition to broadcast free text messages and target selectors to players using cheats or operator rights.Level 2
/teammsgLearn how to use the /teammsg command in Minecraft Java Edition to send messages that Include target selectors directly to your teammates.1.14
/tellLearn how to use the /tell command in Minecraft Java Edition to send private messages to other players, including syntax rules and working examples.
/tellrawLearn how to use the /tellraw command in Minecraft Java Edition to send custom JSON and SNBT text messages with colors to any player or target selector.Level 2
/titleLearn how to use the /title command in Minecraft Java Edition to show custom text on the screen, subtitle area, or actionbar with fade timers.Level 2
/tmLearn how to use the /tm command in Minecraft Java Edition, a short alias that works the exact same way as the /teammsg command since version 1.14.1.14
/wLearn how to use the /w command in Minecraft Java Edition, an alias that works exactly like the /msg command from version 1.13 up to version 26.3.

Sound & Visuals 4

CommandWhat it doesPermissionAdded in
/particleLearn how to use the /particle command in Minecraft Java Edition to create visual effects at specific coordinates with custom speed, count, and viewers.Level 2
/playsoundLearn how to use the /playsound command in Minecraft Java Edition to play sounds for specific players, with full syntax, arguments, and ready-to-use examples.Level 2
/posteffectLearn how to use the /posteffect command in Minecraft Java Edition 26.3 to add, remove, list, and clear posteffects for players on your server or world.Level 226.3
/stopsoundLearn how to use the /stopsound command in Minecraft Java Edition to mute all audio, silence specific sound categories, or cut off a single sound ID.Level 2

Server Admin 21

CommandWhat it doesPermissionAdded in
/banLearn how to use the /ban command in Minecraft Java Edition to block players from your server using player names, target selectors, and custom reasons.Level 3
/ban-ipLearn how to use the /ban-ip command in Minecraft Java Edition with syntax forms, argument guides, and practical server administration examples.Level 3
/banlistLearn how to use the /banlist command in Minecraft Java Edition to check banned players and IP addresses on your server, including syntax and permissions.Level 3
/datapackLearn how to use the /datapack command in Minecraft Java Edition to list, enable, disable, order, and create data packs in your world with easy examples.Level 2
/deopLearn how to use the /deop command in Minecraft Java Edition to revoke operator permissions from one or more players on your multiplayer server.Level 3
/fetchprofileLearn how to use the /fetchprofile command in Minecraft Java Edition to look up profiles using a player name, a hyphenated UUID, or a target selector.Level 21.21.9
/kickLearn how to use the /kick command in Minecraft Java Edition to remove players from a server with optional custom disconnect messages and target selectors.Level 3
/listLearn how to use the /list command in Minecraft Java Edition to check online players and view their UUIDs with clear syntax rules and simple examples.
/opLearn how to use the /op command in Minecraft Java Edition to grant operator status to specific players or target selectors with our simple syntax guide.Level 3
/pardonLearn how to use the /pardon command in Minecraft Java Edition to target players by username or selector, including permission requirements and examples.Level 3
/pardon-ipLearn how to use the /pardon-ip command in Minecraft Java Edition with syntax forms, argument details, working examples, and permission requirements.Level 3
/publishLearn how to use the /publish command in Minecraft Java Edition to publish your world, set command permissions, and pick a specific network port.Level 4
/reloadLearn how to use the /reload command in Minecraft Java Edition, including the level 2 permission needed, exact syntax, version history, and Bedrock differences.Level 2
/save-allLearn how to use the /save-all command in Minecraft Java Edition to save your server data immediately, including syntax, required permissions, and examples.Level 4
/save-offLearn how to use the /save-off command in Minecraft Java Edition, including the level 4 permission requirement, exact syntax, and version history.Level 4
/save-onLearn how to use the /save-on command in Minecraft Java Edition with exact syntax, Level 4 server owner permission rules, and version history from 1.13 to 26.3.Level 4
/setidletimeoutLearn how to use the /setidletimeout command in Minecraft Java Edition to set the idle timer in minutes for your server with simple syntax and examples.Level 3
/stopLearn how to use the /stop command in Minecraft Java Edition to shut down your multiplayer server cleanly with Level 4 server owner permissions and syntax.Level 4
/transferLearn how to use the /transfer command in Minecraft Java Edition to send yourself or other players to a different server hostname and port.Level 31.20.5
/unpublishLearn how to use the /unpublish command in Minecraft Java Edition, including the level 4 permission requirement, exact syntax, and version history from 26.2.Level 426.2
/whitelistLearn how to use the /whitelist command in Minecraft Java Edition to add or remove approved players, view your list, and turn the server whitelist on or off.Level 3

Debug & Developer 9

CommandWhat it doesPermissionAdded in
/computeLearn how to use the /compute command in Minecraft Java Edition 26.3 to evaluate integer and float providers for blocks, entities, or default contexts.Level 226.3
/debugLearn how to use the /debug command in Minecraft Java Edition to start and stop debug sessions or test functions and function tags from your data packs.Level 3
/helpLearn how to use the /help command in Minecraft Java Edition to look up available commands and check their syntax directly in your game chat.
/jfrLearn how to use the /jfr command in Minecraft Java Edition to start and stop JFR profiling using level 4 server owner permissions from version 1.18 to 26.3.Level 41.18
/perfLearn how to use the /perf command in Minecraft Java Edition to start and stop performance profiling sessions with permission requirements and syntax.Level 41.17
/stopwatchLearn how to use the /stopwatch command in Minecraft Java Edition to create, query, restart, and remove custom stopwatches using namespaced IDs and scales.Level 21.21.11
/testLearn how to use the /test command in Minecraft Java Edition to create, run, reset, locate, and clear test instances with syntax and examples.Level 21.21.5
/tickLearn how to use the /tick command in Minecraft Java Edition to freeze, unfreeze, step, sprint, query, and change the tick rate of your game world.Level 31.20.3
/versionLearn how to use the /version command in Minecraft Java Edition, including permission level requirements, exact syntax, and version history.Level 21.21.6

Removed commands

/locatebiome until 1.18.2/placefeature until 1.18.2/replaceitem until 1.16.5