Commands/place (Education)
Minecraft Wiki article. Categories: Removed_features, Commands
This article is reproduced from Commands/place (Education) on the Minecraft Wiki. Mirrored from revision 3158170. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
/place{
"title": "<code>/place</code>",
"rows": [
{
"field": "Hidden",
"label": "Visibility"
},
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Lets the player's agent right-click 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:
Navigation
Sources
- Commands/place (Education) — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3158170.