Note: After saving, you have to bypass your browser's cache to see the changes.
Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
Education Edition commands
List of Education Edition commands, some information were taken from Code Connection API.pdf and at the program folder of Minecraft: Windows 10 Edition.
Note: 80
Template:Research
Main
ability
User:ItsPlantseed/sound definitions/infobox
Grants or revokes player with a specific ability.
- Syntax
ability <player: target> <ability: string> <value: bool>
- Arguments
- player: target
- Specifies the target to grant/revoke player ability. Must be a player name or target selector.
- ability: string
- Specifies the player ability.
- Must be one of:
worldbuilderfor ability to become a World Builder.mayflyfor ability to fly.
- value: bool
- Specifies the value to set the ability to, must in between
trueorfalse.
- Specifies the value to set the ability to, must in between
- Result
- Fails if the arguments are not specified correctly.
- On success, grants/revokes the player ability into the specified ability.
clearfixedinv
User:ItsPlantseed/sound definitions/infobox
Clears fixed inventory slots.
- Syntax
clearfixedinv
- Result
- Fails if there are no fixed inventory slots available.
- On success, fixed inventory slots cleared successfully.
executeasother
User:ItsPlantseed/sound definitions/infobox
Executes another command as the specified target.
- Syntax
executeasother <origin: target> <position: x y z> <command: string>
- Arguments
- origin: target
- Specifies the target to be the command's executor. Must be a player name or target selector. If more than one entity is selected, the command will be run once as each of them.
- position: x y z
- Specifies the position from which to run the command. x and z must be within the range -30,000,000 to 30,000,000 (inclusive). Coordinates specified with tilde notation are relative to the target, not to the position of the command's execution.
- command: string
- Specifies the command to be run. Must be a valid command.
- Result
- Fails if ...
- On success, ...
executeasself
User:ItsPlantseed/sound definitions/infobox
Similar to /execute, but executes the command to the executor.
- Syntax
executeasself <command: rawText>
- Arguments
- command: rawText
- Specifies the command to be run. Must be a valid command.
- Result
- Fails if ...
- On success, ...
getchunkdata
User:ItsPlantseed/sound definitions/infobox
Gets pixels for a specific chunk.
- Syntax
getchunkdata <dimension: string> <chunkX: int> <chunkZ: int> <height: int>
- Arguments
- dimension: string
- The dimension name.
- chunkX: int
- Specifies the coordinates of the chunk in X-axis.
- chunkZ: int
- Specifies the coordinates of the chunk in Z-axis.
- height: int
- Specifies the height of the chunk.
- Result
- Unknown
getchunks
User:ItsPlantseed/sound definitions/infobox
- Syntax
getchunks <dimension: string>
geteduclientinfo
User:ItsPlantseed/sound definitions/infobox
- Syntax
geteduclientinfo
getspawnpoint
User:ItsPlantseed/sound definitions/infobox
- Syntax
getspawnpoint <player: target>
- Arguments
- player: target
- Specifies the target to get the player spawn point. Must be a player name or target selector.
- Result
- Fails if ...
- On success, ...
globalpause
User:ItsPlantseed/sound definitions/infobox
Sets or gets the paused state of the game for all players.
- Syntax
globalpause <isPaused: bool>
- Arguments
- isPaused: bool
- Specifies the value to pause the world, must in between
trueorfalse.
- Specifies the value to pause the world, must in between
- Result
- Fails if ...
- On success, ...
immutableworld
User:ItsPlantseed/sound definitions/infobox
Toggles the world to be able altered or cannot be altered.
- Syntax
immutableworld [value: bool]
- Arguments
- value: bool (optional)
- Specifies the value to set the world to be able altered, must in between
trueorfalse.
- Specifies the value to set the world to be able altered, must in between
- Result
- Fails if ...
- On success, if
truethe world cannot be altered, but doors, levers, etc. can still be used, and vice versa if set tofalse.
querytarget
User:ItsPlantseed/sound definitions/infobox
Gets transform, name, and id information about the given target entity or entities.
- Syntax
querytarget <victim: target>
- Arguments
- victim: target
- Specifies the targets. Must be one or more player names and/or [#Target selectors|target selectors] separated by spaces (
@eis permitted to target entities other than players).
- Specifies the targets. Must be one or more player names and/or [#Target selectors|target selectors] separated by spaces (
- Result
- Fails if ...
- On success, ...
setfixedinvslot
User:ItsPlantseed/sound definitions/infobox
Sets fixed inventory slot with a specific item.
- Syntax
setfixedinvslot <fixedinvslotnum: int> <itemName: string> [data: int]
- Arguments
- fixedinvslotnum: int
- Specifies the number of fixed inventory slot.
- itemName: string
- data: int (optional)
- Specifies the item data of the item. Must be an integer between -2,147,483,648 and 2,147,483,647 (inclusive, without the commas), but values which are invalid for the specified item id revert to 0. If not specified, defaults to 0.
- Result
- Fails if arguments are not specified correctly.
- On success, players are given the specified items in the fixed inventory slot.
setfixedinvslots
User:ItsPlantseed/sound definitions/infobox
Sets the amount of fixed inventory slots.
- Syntax
setfixedinvslots <fixedinvslotnum: int>
- Arguments
- fixedinvslotnum: int
- Specifies the amount of fixed inventory slots, up into three slots.
- Result
- Fails if the argument is empty, or not specified correctly.
- On success, players grant fixed slots with the specified amount.
worldbuilder
User:ItsPlantseed/sound definitions/infobox
Toggles the World Builder ability to enable or disable alternately.
- Syntax
worldbuilder
wb
- Result
- Fails if the player does not have permission to become a World Builder.
- On success, player switch the World Builder ability alternately.
Agent
attack
User:ItsPlantseed/sound definitions/infobox
Attacks in the direction specified.
- Syntax
attack <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to attack.
- Must be one of:
forwardto attack forward.backto attack backward.leftto attack leftward.rightto attack rightward.upto attack upward.downto attack downward.
- Result
- Always success, Agent attacks in the specified direction by 8



attack damage.
collect
User:ItsPlantseed/sound definitions/infobox
Collects all items within a one block from Agent in three dimensions.
- Syntax
collect <item: string>
- Arguments
- Result
- Fails if the arguments are not specified correctly or no items of the same name were collected.
- On success, returns if any items of the same name were collected.
createagent
User:ItsPlantseed/sound definitions/infobox
Creates Agent on the current player position.
- Syntax
createagent
- Result
- Always success, Agent created succesfully.
destroy
User:ItsPlantseed/sound definitions/infobox
Destroys block or item in the specified direction.
- Syntax
destroy <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to destroy.
- Must be one of:
forwardto destroy block/item on the front.backto destroy block/item on the back.leftto destroy block/item on the left-hand side.rightto destroy block/item on the right-hand side.upto destroy block/item on the top-hand side.downto destroy block/item on the bottom-hand side.
- Result
- Fails if the block was unbreakable or a non-solid block.
- On success, Agent destroys the block/item by one hit as expected.
detect
detect
User:ItsPlantseed/sound definitions/infobox
Detects if there is a collidable block in the specified direction.
- Syntax
detect <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to detect a collidable block.
- Must be one of:
forwardto detect the block on the front.backto detect the block on the back.leftto detect the block on the left-hand side.rightto detect the block on the right-hand side.upto detect the block on the top-hand side.downto detect the block on the bottom-hand side.
- Result
- Fails if the arguments are not specified correctly.
- On success, returns if there was a collidable block in the specified direction.
detectredstone
User:ItsPlantseed/sound definitions/infobox
Detects redstone signal in the specified direction.
- Syntax
detectredstone <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to detect a redstone signal.
- Must be one of:
forwardto detect the block on the front.backto detect the block on the back.leftto detect the block on the left-hand side.rightto detect the block on the right-hand side.upto detect the block on the top-hand side.downto detect the block on the bottom-hand side.
- Result
- Fails if the arguments are not specified correctly.
- On success, returns if the object in the specified direction received a redstone signal at that moment.
drop
drop
User:ItsPlantseed/sound definitions/infobox
Drops the given number of items from the specified inventory slot onto the ground by one block in the specified direction.
- Syntax
drop <slotNum: int> <quantity: int> <direction: string>
- Arguments
- slotNum: int
- Specifies the slot number to drop, slots are numbered from 1 to 27.
- quantity: int
- Specifies the number of items to be dropped from the Agent's inventory slot. Must be between 1 and 64.
- direction: string
- Specifies the direction of Agent to drop the item(s).
- Must be one of:
forwardto drop item(s) to the front.backto drop item(s) to the back.leftto drop item(s) to the left.rightto drop item(s) to the right.
- Result
- Fails if the arguments are not specified correctly or the slot was empty.
- On success, returns if items were dropped onto the ground in the direction specified.
dropall
User:ItsPlantseed/sound definitions/infobox
Drops all items from all slots onto the ground by one block in the specified direction.
- Syntax
dropall <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to drop all the items.
- Must be one of:
forwardto drop items to the front.backto drop items to the back.leftto drop items to the left.rightto drop items to the right.
- Result
- Fails if the arguments are not specified correctly or the Agent's inventory was empty.
- On success, returns if all items were dropped onto the ground in the direction specified.
get
getitemcount
User:ItsPlantseed/sound definitions/infobox
Returns the number of items in the specified slot, as in how many the player could use before it would be empty.
- Syntax
getitemcount <slotNum: int>
- Arguments
- slotNum: int
- Specifies the slot number of items to be counted, slots are numbered from 1 to 27.
- Result
- Fails if the arguments are not specified correctly.
- On success, returns the number of item in the specified slot. See block ids for the complete list.
getitemdetail
User:ItsPlantseed/sound definitions/infobox
Returns the name of the item in the specified slot.
- Syntax
getitemdetail <slotNum: int>
- Arguments
- slotNum: int
- Specifies the slot number of items to be counted, slots are numbered from 1 to 27.
- Result
- Fails if the arguments are not specified correctly.
- On success, returns the form of the item in the specified slot. See block id for the complete list.
getitemspace
User:ItsPlantseed/sound definitions/infobox
Returns the number of spaces remaining in the specified slot, as in the number of items you could add before it would be full.
- Syntax
getitemspace <slotNum: int>
- Arguments
- slotNum: int
- Specifies the slot number of items to be counted, slots are numbered from 1 to 27.
- Result
- Fails if the arguments are not specified correctly.
- On success, returns the remaining number of the item in the specified slot.
inspect
inspect
User:ItsPlantseed/sound definitions/infobox
Returns the name of the block in the specified direction.
- Syntax
inspect <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to verify the name of the block.
- Must be one of:
forwardto inspect the block on the front.backto inspect the block on the back.leftto inspect the block on the left-hand side.rightto inpect the block on the right-hand side.upto inspect the block on the top-hand side.downto inspect the block on the bottom-hand side.
- Result
- Fails if the arguments are not specified correctly.
- On success, returns the form of the block in the specified direction. See block id for the complete list.
inspectdata
User:ItsPlantseed/sound definitions/infobox
Returns the data value of the block in the specified direction.
- Syntax
inspectdata <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to verify the data value of the block.
- Must be one of:
forwardto inspect the block on the front.backto inspect the block on the back.leftto inspect the block on the left-hand side.rightto inpect the block on the right-hand side.upto inspect the block on the top-hand side.downto inspect the block on the bottom-hand side.
- Result
- Fails if the arguments are not specified correctly.
- On success, returns the data value of the block in the specified direction. See block id for the complete list.
move
User:ItsPlantseed/sound definitions/infobox
Moves Agent in specified direction.
- Syntax
move <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to move.
- Must be one of:
forwardto move Agent forward.backto move Agent backward.leftto move Agent leftward.rightto move Agent rightward.upto move Agent upward.downto move Agent downward.
- Result
- Fails if the specified direction is blocked by a block.
- On success, Agent moved in the direction specified by one block.
place
User:ItsPlantseed/sound definitions/infobox
Right-clicks on the block in the specified direction.
- Syntax
place <slotNum: int> <direction: string>
- Arguments
- slotNum: int
- Specifies the slot number of block to be placed, slots are numbered from 1 to 27.
- direction: string
- Specifies the direction of Agent to place the block.
- Must be one of:
forwardto place the block on the front.backto place the block on the back.leftto place the block on the left-hand side.rightto place the block on the right-hand side.upto place the block on the top-hand side.downto place the block on the bottom-hand side.
- Result
- Fails if the arguments are not specified correctly or the specified slot was empty.
- On success, returns if a block in the specified inventory slot was placed.
- Note
- This basically places a block (ex: Place Stone Block) or a placeable item (ex: Place Oak Fence) from the selected inventory slot in the specified direction.
- However, this doesn’t interact with things like doors, levers, and containers.
- Additionally, when player specifies a slot which contains the following non-place-able items, this behaves as follows:
- Place water/lava
- Bucket
- Till grass
- Make a path
- Spawn a mob
- Dye something
- Make a fire
- Placeable material
- Place water/lava
till
User:ItsPlantseed/sound definitions/infobox
Tills grass in the specified direction.
- Syntax
till <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to till the block.
- Must be one of:
forwardto till the block on the front.backto till the block on the back.leftto till the block on the left-hand side.rightto till the block on the right-hand side.upto till the block on the top-hand side.downto till the block on the bottom-hand side.
- Result
- Fails if the arguments are not specified correctly or there is no till-able block in the specified direction.
- On success, returns if any till-able block was turned into farmland in the specified direction.
tpagent
User:ItsPlantseed/sound definitions/infobox
Teleport player to the Agent's position.
- Syntax
tpagent
- Result
- Fails if there is no Agent existed.
- On success, player teleported to Agent successfully.
transfer
User:ItsPlantseed/sound definitions/infobox
Transfers specified quantity of items from the selected slot to another specified slot of Agent's inventory.
- Syntax
transfer <srcSlotNum: int> <quantity: int> <dstSlotNum: int>
- Arguments
- srcSlotNum: int
- Specifies the source of slot number to be transferred, slots are numbered from 1 to 27.
- quantity: int
- Specifies the number of items to be transferred from the Agent's inventory slot.
- srcSlotNum: int
- Specifies the destination of slot number to be transferred, slots are numbered from 1 to 27.
- Result
- Fails if the arguments are not specified correctly, or returns false if the destination already has items of a different type, and if the source slot was empty.
- On success, returns true if there was a room for the items to be transferred.
turn
User:ItsPlantseed/sound definitions/infobox
Rotate Agent in the specified direction by 90 degrees.
- Syntax
turn <direction: string>
- Arguments
- direction: string
- Specifies the direction of Agent to rotate.
- Must be one of:
leftto rotate Agent leftward.rightto rotate Agent rightward.
- Result
- Always success, Agent rotate in the specified direction as expected.
Miscellaneous
classroommode
User:ItsPlantseed/sound definitions/infobox
- Syntax
classroommode
code
User:ItsPlantseed/sound definitions/infobox
Used to access Code Connection.
- Syntax
code
- Result
- Fails if there is no Code Connection installed.
- On success, Code Connection connected successfully.
geteduclientinfo
User:ItsPlantseed/sound definitions/infobox
- Syntax
geteduclientinfo
- Result
- Shows the information about the client.
position
User:ItsPlantseed/sound definitions/infobox
Toggles player coordinates to be displayed on the HUD.
- Syntax
position
- Result
- Always success, coordinates displayed on the HUD succesfully.