Minecraft:Commands/place (Education): Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{ | {{MC/For|the command that used to places a [[Minecraft:feature]], jigsaw, [[Minecraft:structure]], and structure template|Commands/place}} | ||
{{Outdated|edition=education}} | {{Outdated|edition=education}} | ||
{{Infobox command | {{Infobox command | ||
| Line 10: | Line 10: | ||
==Syntax== | ==Syntax== | ||
: {{ | : {{MC/Cd|place <slotNum: int> <direction: string>}} | ||
==Arguments== | ==Arguments== | ||
{{ | {{MC/Cd|slotNum: int}} | ||
: Specifies the slot number of block to be placed, slots are numbered from 1 to 27. | : Specifies the slot number of block to be placed, slots are numbered from 1 to 27. | ||
{{ | {{MC/Cd|direction: string}} | ||
: Specifies the direction of Agent to place the block. | : Specifies the direction of Agent to place the block. | ||
: Must be one of: | : Must be one of: | ||
:* {{ | :* {{MC/Cd|forward}} to place the block on the front. | ||
:* {{ | :* {{MC/Cd|back}} to place the block on the back. | ||
:* {{ | :* {{MC/Cd|left}} to place the block on the left-hand side. | ||
:* {{ | :* {{MC/Cd|right}} to place the block on the right-hand side. | ||
:* {{ | :* {{MC/Cd|up}} to place the block on the top-hand side. | ||
:* {{ | :* {{MC/Cd|down}} to place the block on the bottom-hand side. | ||
==Result== | ==Result== | ||
| Line 56: | Line 56: | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
pt:Comandos/place_(Education) | pt:Comandos/place_(Education) | ||
zh:命令/place(已移除) | zh:命令/place(已移除) | ||
Latest revision as of 20:12, 9 April 2026
Template:Hatnote Template:Outdated Template:Infobox command
Lets the player's Minecraft:agent right-click on the block in the specified direction.
Syntax
- REDIRECT Template:Code
Arguments
- REDIRECT Template:Code
- Specifies the slot number of block to be placed, slots are numbered from 1 to 27.
- REDIRECT Template:Code
- Specifies the direction of Agent to place the block.
- Must be one of:
- REDIRECT Template:Code
Template:Redr to place the block on the front.
- REDIRECT Template:Code
Template:Redr to place the block on the back.
- REDIRECT Template:Code
Template:Redr to place the block on the left-hand side.
- REDIRECT Template:Code
Template:Redr to place the block on the right-hand side.
- REDIRECT Template:Code
Template:Redr to place the block on the top-hand side.
- REDIRECT Template:Code
Template:Redr 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
pt:Comandos/place_(Education) zh:命令/place(已移除)