Minecraft:Commands/place (Education)
From SAS Gaming Wiki
More actions
Template:For Template:Outdated Template:Infobox command
Lets the player's Minecraft:agent right-click on the block in the specified direction.
Syntax
Arguments
- Specifies the slot number of block to be placed, slots are numbered from 1 to 27.
- Specifies the direction of Agent to place the block.
- Must be one of:
- Template:Cd to place the block on the front.
- Template:Cd to place the block on the back.
- Template:Cd to place the block on the left-hand side.
- Template:Cd to place the block on the right-hand side.
- Template:Cd to place the block on the top-hand side.
- Template:Cd to 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 Minecraft:water/Minecraft:lava
- Till grass
- Make a path
- Spawn a mob
- Dye something
- Make a fire
- Placeable material
Minecraft:pt:Comandos/place_(Education) Minecraft:zh:命令/place(已移除)