FANDOM


Given below is a detailed list of all Commands in Minecraft.

List of Commands

ability

Sets a player's ability.

/ability <player: target> [abilities] <true|false>

Legal values for abilities are:

  • mute - Permits or denies player's chat options.
  • worldbuilder - Permit or denies player's ability to place blocks.
  • mayfly - Permits or denies player's ability to independently fly.

This command requires Education Edition features enabled.

alwaysday

Locks and unlocks the day-night cycle.

/alwaysday <value:bool>

Sets /gamerule dodaylightcycle to false, and sets /time to 5000. This is the same as the Always Day slider in the Game Settings. The command can also be given as daylock.

clear

Clears the Player's inventory.

/clear <player: target> <itemName:string> <data:int> <maxCount:int>
  • <player:target> player name or target selector. Defaults to the player executing the command.
  • <itemName:string> valid item name. Defaults to all items in the player's inventory.
  • <data:int> if specified, only clears items with this data value.
  • <maxCount:int> maximum number of items to clear.

clone

Copies blocks from one place to another.

/clone <begin x y z> <end x y z> <destination: x y z> [maskMode] [cloneMode] [tileName]

Clones blocks from the cube defined by begin and end into the destination. The maskMode defines how to handle destination blocks, and cloneMode defines handling of source. If maskMode is filtering, the tileName specifies the block to filter on.

Legal values for maskMode are:

  • filtered – Only blocks matching tileName is copied.
  • masked – Only non-air blocks are copied.
  • replace – All blocks are copied as-is. This is the default.

Legal values for cloneMode are:

  • force – Force moving of blocks even if regions overlap.
  • move – Move only non-air blocks, and replace them with air-blocks. If filtering is done, this only applies to the filtered blocks.
  • normal – Do not force or move blocks from source region. This is the default.

See also /setblock and /fill commands.

connect

Connects to a server in-game.

/connect <serverURi: string>
  • Note: URi is as the code appears in the chat. It is unknown if this is a bug.

deop

Revokes operator status for one or more players.

/deop <player: target>

See also /op , for giving this status.

difficulty

Changes the difficulty mode.

/difficulty <difficulty:int | string>

Values for difficulty are 0, p, peaceful, 1, e, easy, 2, n, normal, 3, h, and hard.

effect

Gives or removes a status effect from a player.

/effect <player: target> <effect: string> [seconds: int] [amplifier: int] [hideParticles: bool]

enchant

Enchant player(s) held item.

/enchant <player: target> <enchantmentId: int> [level: int]
/enchant <player: target> <enchantmenName: string> [level: int]

Enchant the item the targeted player(s) are holding, with the name (or numbered) enchantment at a given level. Maximum level for a given encha ntment can't be bypassed.

execute

Executes a command which can be linked to a target or a condition related to another block, as tested in the /testforblock command.

/execute <command: string>
/execute <origin: target> <position: x y z> <command: string>
/execute <origin: target> <position: x y z> <detect: string> <detectPos: x y z> <detectBlock: string> <detectData: int> <command: string>

The command in all examples can be any command (including the execute command it self), and are relative to the targeted player(s)/entities. In the latter two examples, the tile notation is used relative to the position of the origin target.

The last variant, with the detect string equal to "detect", the command is only executed if the condition, as if it was given to testforblock, is matched.

fill

Fills a region with a given block

/fill <from: x y z> <to: x y z> <tileName: string> [tileData:int] [oldBlockHandling]

Fills the entire cube defined by from and to with the block named tileName (optionally specifying a tileData value). The oldBlockHandling defines how to handle existing blocks in the region.

Legal values for oldBlockHandling are:

  • destroy – Replace all blocks, drops blocks and contents as if mined with unenchanted diamond pickaxe or shovel.
  • hollow – Replace only the blocks on the outer edge of the region. Drops all inner blocks as if they were mined, and replaced them with air blocks.
  • keep – Only replace the air blocks in the fill region with the specified block.
  • outline – Only replace the outer edge of region with specified block. Leave all inner blocks as they were.
  • replace – Replace all blocks, with no dropping of current blocks. This is the default.

See also /setblock and /clone commands.

function

Runs commands found in the corresponding function file.

/function <name:unknown>
/function <name:string>

gamemode

Changes gamemode for a player.

/gamemode <gameMode: string> [player: target]
/gamemode <gameMode: int> [player: target]

Using 'c', 'creative', 's', 'survival', 'a', 'adventure', '0', '1', or '2', the gamemode for the targeted player can change.

gamerule

Sets or queries a game rule value.

/gamerule <rule: string> <value: bool | int>
/gamerule <rule: string>

Used to change of game mechanic specified by rule. All rules except keepinventory are set False by default.

The values for rule are:
commandblockoutput can disable command block output appearing in chat.
commandblocksenabled can disable all command blocks in a world.
dodaylightcycle can disable day to night transition.
doentitydrops can disable drops from non-mob enitity.
dofiretick can disable fire spread and natural extinguish.
doimmediaterespawn can disable message box options upon player death.
doinsomnia can disable player insomnia timer and corresponding phantom spawning.
domobloot can disable drops from mob death.
domobspawning can disable mobs naturally spawning.
dotiledrops can disable drops when blocks are broken.
doweathercycle can disable change of weather.
drowningdamage can disable drowning injury.
falldamage can disable fall injury.
firedamage can disable fire injury.
functioncommandlimit can limit number of commands run from a function mod file.
keepinventory can allow player to not drop their inventory after death.
maxcommandchainlength can limit number of commandblocks that can be chained.
mobgriefing can prevent mobs from interacting with blocks or dropped items.
naturalregeneration can disable player health regeneration over time.
pvp can disable damage from other players.
randomtickspeed can change rate of block ticks,
which effects plant growth and other timed events.
sendcommandfeedback can disable player command output appearing in chat.
showcoordinates can allow player's coordinates shown above chat.
showdeathmessages can disable the displaying of player death details in chat.
tntexplodes can prevent TNT ignition.

give

Give a targeted player(s) item(s).

/give <player: target> <itemName: string> [amount: int] [data: int] [components: json]

Adds items to the targeted player(s) inventory. Multiple items of the same type can be given by specifying an amount, and some characteristics of the item can be changed by providing the optional data argument. You can also add CanPlaceOn and CanDestroy data tags to items through this command.

help

Displays help related to commands.

/help <command: string>

Lists help related to a specific command. In 0.16.0 this text is rather short (or missing).

/help [page: int]

Typing /help optionally followed by a number gives a list of commands. With a number, like 3, it shows the third help page.

immutableworld

Sets the immutable state of a world.

/Immutableworld <value: bool>

Sets ability to place blocks for every player in a world. This command requires Education Edition features enabled.

kill

Kills (or removes) a player or an entity.

/kill [target: target]

Without argument kills the Player itself. Using a player's name would kill that player, and /kill @e[type=creeper] would remove all creepers in loaded chunks. See /summon to spawn entities.

list

Lists all online players of the current game, and maximum players allowed.

/list

locate

Locates the nearest selected structure.

/locate <feature: string>

The command only gives the coordinates of the nearest structure, the Player must teleport/travel to it themselves.

me

Displays custom message in chat

/me <string>

Displays custom chat message starting with player's name, but without the player's name in square brackets.

mixer

Mixer interactivity control

/mixer <stop: string>
/mixer <scene: string> <sceneName: string>
/mixer <start: string> <version: int> <shareCode: string>

Used in conjunction with Microsoft's (formerly Beams's) Mixer app for livestreaming Minecraft sessions.

mobevent

Controls what mob events are allowed to run

/mobevent <event: string>  <value: bool>

Legal values for event are:

  • events_enabled - Enables or disables all events.
  • minecraft:pillager_patrols_event - Enables or disables pillager patrols from spawning.
  • minecraft:wandering_trader_event - Enables or disables wandering trader from spawning.

op

Gives operator status to one or several players

/op <player: target>

See /deop , which revokes this status.

particle

Creates a particle emitter.

/particle <effect: string> <position: x y z>
The values for particle are:
test_biezercurve
test_bounce
test_catmullromcurve
test_colorcurve
test_combocurve
test_highrestitution
test_linearcurve
test_mule
test_smoke_puff
test_sphere
test_spiral
test_watertest

playsound

Plays a built-in sound.

/playsound <sound: string> <player: target> <position: x y z> <volume: float> <pitch: float> <minimumVolume: float>
The values for sound are:
ambient.weather.lightning.impact
ambient.weather.rain
ambient.weather.thunder
armor.equip_chain
armor.equip_diamond
armor.equip_generic
armor.equip_gold
armor.equip_iron
armor.equip_leather
beacon.activate
beacon.ambient
beacon.deactivate
beacon.power
block.bamboo.break
block.bamboo.fall
block.bamboo.hit
block.bamboo.place
block.bamboo.step
block.bamboo_sapling.break
block.bamboo_sapling.place
block.barrel.close
block.barrel.open
block.bell.hit
block.campfire.crackle
block.chorusflower.death
block.chorusflower.grow
block.composter.empty
block.composter.fill
block.composter.fill_success
block.composter.ready
block.end_portal.spawn
block.end_portal_frame.fill
block.false_permissions
block.grindstone.use
block.itemframe.add_item
block.itemframe.break
block.itemframe.place
block.itemframe.remove_item
block.itemframe.rotate_item
block.lantern.break
block.lantern.fall
block.lantern.hit
block.lantern.place
block.lantern.step
block.scaffolding.break
block.scaffolding.climb
block.scaffolding.fall
block.scaffolding.hit
block.scaffolding.place
block.scaffolding.step
block.sweet_berry_bush.break
block.sweet_berry_bush.hurt
block.sweet_berry_bush.pick
block.sweet_berry_bush.place
block.turtle_egg.break
block.turtle_egg.crack
block.turtle_egg.drop
bottle.dragonbreath
bubble.down
bubble.downinside
bubble.pop
bubble.up
bubble.upinside
bucket.empty_fish
bucket.empty_lava
bucket.empty_water
bucket.fill_fish
bucket.fill_lava
bucket.fill_water
camera.take_picture
cauldron.adddye
cauldron.cleanarmor
cauldron.cleanbanner
cauldron.dyearmor
cauldron.explode
cauldron.fillpotion
cauldron.fillwater
cauldron.takepotion
cauldron.takewater
conduit.activate
conduit.ambient
conduit.attack
conduit.deactivate
conduit.short
crossbow.loading.middle
crossbow.loading.start
crossbow.quick_charge.end
crossbow.quick_charge.middle
crossbow.quick_charge.start
crossbow.shoot
damage.fallbig
damage.fallsmall
damage.thorns
dig.cloth
dig.grass
dig.gravel
dig.sand
dig.snow
dig.stone
dig.wood
elytra.loop
fall.anvil
fall.cloth
fall.egg
fall.grass
fall.gravel
fall.ladder
fall.sand
fall.slime
fall.snow
fall.stone
fall.wood
fire.fire
fire.ignite
firework.blast
firework.large_blast
firework.launch
firework.shoot
firework.twinkle
game.player.attack.nodamage
game.player.attack.strong
game.player.die
game.player.hurt
hit.anvil
hit.cloth
hit.grass
hit.gravel
hit.ladder
hit.sand
hit.slime
hit.snow
hit.stone
hit.wood
item.book.put
item.shield.block
item.trident.hit
item.trident.hit_ground
item.trident.return
item.trident.riptide_1
item.trident.riptide_2
item.trident.riptide_3
item.trident.throw
item.trident.thunder
jump.anvil
jump.cloth
jump.grass
jump.gravel
jump.ladder
jump.metal
jump.sand
jump.slime
jump.snow
jump.stone
jump.wood
land.anvil
land.cloth
land.grass
land.gravel
land.ladder
land.sand
land.slime
land.snow
land.stone
land.wood
leashknot.break
leashknot.place
liquid.lava
liquid.lavapop
liquid.water
minecart.base
minecart.inside
mob.armor_stand.break
mob.armor_stand.hit
mob.armor_stand.land
mob.armor_stand.place
mob.attack
mob.bat.death
mob.bat.hurt
mob.bat.idle
mob.bat.takeoff
mob.blaze.ambient
mob.blaze.breathe
mob.blaze.death
mob.blaze.hit
mob.blaze.shoot
mob.cat.eat
mob.cat.hiss
mob.cat.hit
mob.cat.meow
mob.cat.purr
mob.cat.purreow
mob.cat.straymeow
mob.chicken.hurt
mob.chicken.plop
mob.chicken.say
mob.chicken.step
mob.cow.hurt
mob.cow.milk
mob.cow.say
mob.cow.step
mob.creeper.death
mob.creeper.say
mob.dolphin.attack
mob.dolphin.blowhole
mob.dolphin.death
mob.dolphin.eat
mob.dolphin.hurt
mob.dolphin.idle
mob.dolphin.idle_water
mob.dolphin.jump
mob.dolphin.splash
mob.dolphin.swim
mob.drowned.death
mob.drowned.death_water
mob.drowned.hurt
mob.drowned.hurt_water
mob.drowned.say
mob.drowned.say_water
mob.drowned.step
mob.elderguardian.curse
mob.elderguardian.death
mob.elderguardian.hit
mob.elderguardian.idle
mob.enderdragon.death
mob.enderdragon.flap
mob.enderdragon.growl
mob.enderdragon.hit
mob.endermen.death
mob.endermen.hit
mob.endermen.idle
mob.endermen.portal
mob.endermen.scream
mob.endermen.stare
mob.endermite.hit
mob.endermite.kill
mob.endermite.say
mob.endermite.step
mob.evocation_fangs.attack
mob.evocation_illager.ambient
mob.evocation_illager.cast_spell
mob.evocation_illager.death
mob.evocation_illager.hurt
mob.evocation_illager.prepare_attack
mob.evocation_illager.prepare_summon
mob.evocation_illager.prepare_wololo
mob.fish.flop
mob.fish.hurt
mob.fish.step
mob.ghast.affectionate_scream
mob.ghast.charge
mob.ghast.death
mob.ghast.fireball
mob.ghast.moan
mob.ghast.scream
mob.guardian.ambient
mob.guardian.attack_loop
mob.guardian.death
mob.guardian.flop
mob.guardian.hit
mob.guardian.land_death
mob.guardian.land_hit
mob.guardian.land_idle
mob.horse.angry
mob.horse.armor
mob.horse.breathe
mob.horse.death
mob.horse.donkey.angry
mob.horse.donkey.death
mob.horse.donkey.hit
mob.horse.donkey.idle
mob.horse.eat
mob.horse.gallop
mob.horse.hit
mob.horse.idle
mob.horse.jump
mob.horse.land
mob.horse.leather
mob.horse.skeleton.death
mob.horse.skeleton.hit
mob.horse.skeleton.idle
mob.horse.soft
mob.horse.wood
mob.horse.zombie.death
mob.horse.zombie.hit
mob.horse.zombie.idle
mob.husk.ambient
mob.husk.death
mob.husk.hurt
mob.husk.step
mob.illusion_illager.ambient
mob.irongolem.death
mob.irongolem.hit
mob.irongolem.say
mob.irongolem.throw
mob.irongolem.walk
mob.llama.angry
mob.llama.death
mob.llama.eat
mob.llama.hurt
mob.llama.idle
mob.llama.spit
mob.llama.step
mob.llama.swag
mob.magmacube.big
mob.magmacube.jump
mob.magmacube.small
mob.ocelot.death
mob.ocelot.idle
mob.panda.bite
mob.panda.cant_breed
mob.panda.death
mob.panda.eat
mob.panda.hurt
mob.panda.idle
mob.panda.idle.aggressive
mob.panda.idle.worried
mob.panda.presneeze
mob.panda.sneeze
mob.panda.step
mob.panda_baby.idle
mob.parrot.death
mob.parrot.eat
mob.parrot.fly
mob.parrot.hurt
mob.parrot.idle
mob.parrot.step
mob.phantom.bite
mob.phantom.death
mob.phantom.hurt
mob.phantom.idle
mob.phantom.swoop
mob.pig.boost
mob.pig.death
mob.pig.say
mob.pig.step
mob.pillager.death
mob.pillager.hurt
mob.pillager.idle
mob.polarbear.death
mob.polarbear.hurt
mob.polarbear.idle
mob.polarbear.step
mob.polarbear.warning
mob.polarbear_baby.idle
mob.rabbit.death
mob.rabbit.hop
mob.rabbit.hurt
mob.rabbit.idle
mob.ravager.ambient
mob.ravager.bite
mob.ravager.death
mob.ravager.hurt
mob.ravager.roar
mob.ravager.step
mob.ravager.stun
mob.sheep.say
mob.sheep.shear
mob.sheep.step
mob.shulker.ambient
mob.shulker.bullet.hit
mob.shulker.close
mob.shulker.close.hurt
mob.shulker.death
mob.shulker.hurt
mob.shulker.open
mob.shulker.shoot
mob.shulker.teleport
mob.silverfish.hit
mob.silverfish.kill
mob.silverfish.say
mob.silverfish.step
mob.skeleton.death
mob.skeleton.hurt
mob.skeleton.say
mob.skeleton.step
mob.slime.attack
mob.slime.big
mob.slime.death
mob.slime.hurt
mob.slime.jump
mob.slime.small
mob.slime.squish
mob.snowgolem.death
mob.snowgolem.hurt
mob.snowgolem.shoot
mob.spider.death
mob.spider.say
mob.spider.step
mob.squid.ambient
mob.squid.death
mob.squid.hurt
mob.stray.ambient
mob.stray.death
mob.stray.hurt
mob.stray.step
mob.turtle.ambient
mob.turtle.death
mob.turtle.hurt
mob.turtle.step
mob.turtle.swim
mob.turtle_baby.born
mob.turtle_baby.death
mob.turtle_baby.hurt
mob.turtle_baby.step
mob.vex.ambient
mob.vex.charge
mob.vex.death
mob.vex.hurt
mob.villager.death
mob.villager.haggle
mob.villager.hit
mob.villager.idle
mob.villager.no
mob.villager.yes
mob.vindicator.death
mob.vindicator.hurt
mob.vindicator.idle
mob.witch.ambient
mob.witch.death
mob.witch.drink
mob.witch.hurt
mob.witch.throw
mob.wither.ambient
mob.wither.break_block
mob.wither.death
mob.wither.hurt
mob.wither.shoot
mob.wither.spawn
mob.wolf.bark
mob.wolf.death
mob.wolf.growl
mob.wolf.hurt
mob.wolf.panting
mob.wolf.shake
mob.wolf.step
mob.wolf.whine
mob.zombie.converted_to_drowned
mob.zombie.death
mob.zombie.hurt
mob.zombie.remedy
mob.zombie.say
mob.zombie.step
mob.zombie.unfect
mob.zombie.wood
mob.zombie.woodbreak
mob.zombie_villager.death
mob.zombie_villager.hurt
mob.zombie_villager.say
mob.zombiepig.zpig
mob.zombiepig.zpigangry
mob.zombiepig.zpigdeath
mob.zombiepig.zpighurt
music.game
music.game.creative
music.game.credits
music.game.end
music.game.endboss
music.game.nether
music.menu
note.bass
note.bassattack
note.bd
note.harp
note.hat
note.pling
note.snare
portal.portal
portal.travel
portal.trigger
raid.horn
random.anvil_break
random.anvil_land
random.anvil_use
random.bow
random.bowhit
random.break
random.burp
random.chestclosed
random.chestopen
random.click
random.door_close
random.door_open
random.drink
random.eat
random.enderchestclosed
random.enderchestopen
random.explode
random.fizz
random.fuse
random.glass
random.hurt
random.levelup
random.orb
random.pop
random.pop2
random.potion.brewed
random.shulkerboxclosed
random.shulkerboxopen
random.splash
random.swim
random.toast
random.totem
record.11
record.13
record.blocks
record.cat
record.chirp
record.far
record.mall
record.mellohi
record.stal
record.strad
record.wait
record.ward
step.anvil
step.cloth
step.grass
step.gravel
step.ladder
step.sand
step.slime
step.snow
step.stone
step.wood
tile.piston.in
tile.piston.out
ui.cartography_table.take_result
ui.loom.take_result
ui.stonecutter.take_result
use.anvil
use.cloth
use.grass
use.gravel
use.ladder
use.sand
use.slime
use.snow
use.stone
use.wood
vr.stutterturn

reload

Reloads all function files from all behavior packs.

/reload

replaceitem

Replaces inventory items.

/replaceitem <block:string> <position: x y z> <slotType: string> <slotId: int> <itemName: string> [amount: int] [data: int]
/replaceitem <entity:string> <target: target> <slotType: string> <slotId: int> <itemName: string> [amount: int] [data: int]

The only valid slotType for block is slot.container. Valid block containers are chests, furnaces, dispensers, droppers, hoppers, and brewing stands.

The valid slotTypes for string are:
slot.weapon.mainhand (Replaces inventory item that player is using/holding.)
slot.weapon.offhand
slot.hotbar (Replaces player inventory item showing in hotbar.)
slot.inventory
slot.armor.head
slot.armor.chest
slot.armor.feet
slot.armor.legs
slot.enderchest
slot.saddle
slot.armor (Horse Armor)
slot.chest (Chest carried by Donkey or Mule)

The slotId parameter is zero-based. For example, the 36 slots of the player inventory are numbered 0 to 35.

say

Says something to all players.

/say <message: string>

See also /tell for addressing specific player(s).

scoreboard

Tracks and display scores for various objectives.

/scoreboard objectives add <objective: string> dummy [displayname: string]
/scoreboard objectives removed <objective: string>
/scoreboard objectives list
/scoreboard objectives setdisplay <list|sidebar> [objective: string] [ascending|descending]
/scoreboard objectives setdisplay belowname [objective: string]
/scoreboard players list [playername: target]
/scoreboard players reset <player: target> [objective:string]
/scoreboard players test <player: target> <objective:string> <min: wildcard int> [max: wildcard int]
/scoreboard players random <player: target> <objective: string> <min: int> < max: int>
/scoreboard players <add|remove|set> <player: target> <objective: string> <count: int>
/scoreboard players operations <targetName: target> <targetObjective: string> <operation: operation>

setmaxplayers

Sets maximum number of players for current game session. The max amount of players to 30.

/setmaxplayers <maxPlayers: int>

setblock

Changes a single block at a given position.

/setblock <position: x y z> <tileName: string> [tileData: int] [oldBlockHandling]

Replaces the block according to the following values of oldBlockHandling:

  • destroy – Destroys the original block as if done by The Player, before placing the new block
  • keep – Only replaces air blocks with the new block
  • replace – Replaces without regards of old block. No dropping of block or content. This is the default

See also /clone and /fill commands.

setworldspawn

Sets the world spawn

/setworldspawn [spawnPoint: x y z]

Sets the worlds spawn point to given position. If position is not given, it defaults to the given players current position. After succesfully setting the spawn point, the Compass now points to this point.

spawnpoint

Sets spawn point for targeted player(s)

/spawnpoint [player: target] [spawnPos: x y z]

Sets the spawn point of a player to the given position. If neither it is given default to current player and current position. Does not affect the compass.

spreadplayers

Teleports entities to random locations within a radius

/spreadplayers <x:rotation> <z:rotation> <spreadDistance: float> <maxRange: float> <victim: target>

stopsound

Stops a currently playing sound.

/stopsound <player: target> [sound:string]

summon

Creates an entity at any given position.

/summon <entityType: string> <spawnPos: x y z>

Spawns the named entity at your given position. I.e. /summon mushroomcow ~ ~ ~. Note that position must be specified. See /kill for removing entities.

tag

Manages tags stored in entities.

/tag <entity: target> add|remove <name:string>
/tag <entity: target> list

Changes attributes of an entity to achieve custom effects. Can be used to add abilities or remove designed limitations from a single mob.

tell

Sends a private message to one or more players.

/tell <recipient: target> <message: string>

Only targeted player(s) will receive the message. The command can be abbreviated as msg or /w. See also /say if the message is for everyone.

tellraw

Sends a JSON message to players

/tellraw <target: target> <raw json message: json>

Used to send messages to player with colorful font effects.

testfor

Tests for existence of an entity

/testfor  <victim: target>

When used with a target selector specifying coordinates, can be used as motion sensor.

testforblock

Tests whether a block is in a given location

/testforblock <position: x y z> <tileName: string> [dataValue: int]

Checks whether the given position has the given block. Reports back through texts in the chat window.

testforblocks

/testforblocks <begin: x y z> <end: x y z> <destination: x y z> [mode]

The begin and end arguments specifies the source regions which are matched against a equally sized region starting at destination. Legal values for mode are:

  • all – Each and every block must match to be part of the match total. This is default.
  • masked – Air blocks in the source region are ignored in the destination.

A succesful match will list number of matching blocks. The region to match might overlap, but it must not be too large.

tickingarea

Adds areas that update without any Players in them. There can be a maximum of 8 in a world. The maximum area that can be made is 8x8 chunks.

/tickingarea add <from: x y z> <to: x y z> [name: string]
/tickingarea add circle <center: x y z> <radius: int> [name: string]
/tickingarea remove <name: string>
/tickingarea remove <position: x y z>
/tickingarea remove_all
/tickingarea list [all-dimensions]

time

Changes or queries the world's game time.

/time add <amount: int>
/time query <time: string>
/time set <time: string>
/time set <time: int>

A full day in Minecraft equals 24000 ticks, approx 20 minutes in real time. A day starts at 1000, and night starts at 13000. When querying day refers to whole days, daytime refers to gameticks of current day, and gametime refers to total amount of gameticks since current game started.

title

Display a message to the players device above the player.

/title <player: target> <title: string> <titleText: string>

Does not appear in chat. Special effect similar to a movie title.

titleraw

Displays screen titles with JSON messages.

/titleraw <player: target> title|subtitle|actionbar <raw json titletext: json>

Does not appear in chat. Special effect similar to a movie title with colorful font effects.

toggledownfall

Changed whether there is downfall or not.

/toggledownfall

If it rains or snows, it'll stop doing so, and vice versa.

tp

Teleports an entity to a given coordinate.

/tp <destination: target>
/tp <destination: x y z> [y-rot: int] [x-rot: int]
/tp <victim: target> <destination: target>
/tp <victim: target> <destination: x y z> [y-rot: int] [x-rot: int]

Teleports either the Player, or a given victim player to the specified destination. Additionally rotates the Player. This command has the interesting side effect of displaying the target coordinates, so that doing a /tp ~ ~ ~ will actually tell the current coordinates of the Player. The command can also be spelled out as /teleport.

videostream

Attempts to connect to the websocket server to send a video stream.

/videostream <serverURI: string> <screenshotSendFrequency: value>

videostreamaction

Performs a videostream related action.

/videostreamaction none|close

weather

Sets the current weather for a given duration.

/weather <type: string> [duration: int]

Sets the weather type to either clear, rain or thunder. Rain becomes snow in a cold biome. Duration, if not set, is random between 6000 and 13000 gameticks.

worldbuilder

Toggle World Builder staus of a caller.

/worldbuilder

Allows an individual player the option to toggle the player's own ability to place blocks. This command requires Education Edition features enabled.

wsserver

Connects to an automation server (developer use only).

/wsserver <serverUri: string>

Unknown usage, reportedly used by developers only. Connects to a websocket server using an unknown protocol.

xp

Adds experience to the targeted player.

/xp <amount: int> <player: target>
/xp <amount: int>L <player: target>

In the first variants it adds the amount of experience to the targeted player. If the player adds the L after the amount, it adds levels instead of only experience points.

Start a Discussion Discussions about Commands/List of Commands

  • CanDestroy / CanPlaceOn

    9 messages
    • Omg Thank you ApplezForLife. Your code works perfectly!
    • I know I may be a little late, but if you're on minecraft bedrock edition, try /give @p iron_axe ...
  • MCPE /playsound Command List

    8 messages
    • Can you tell me the list of playsound commands??
    • '''I have found a working list of the playsound sounds i have tested this and it works :)''�...
Community content is available under CC-BY-SA unless otherwise noted.