View at: Template:Commands/content [edit]
Commands/place (Java Edition) - minecraft.fandom.com
Jump to navigation
Jump to search
Treść tej podstrony pochodzi z artykułu „Commands/place (Java Edition)” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
For the removed command with the same name in Bedrock Edition, see Commands/place (Bedrock Edition).
For the command to place structure file in Bedrock Edition, see Commands/structure.
This feature is exclusive to Java Edition.
Places a configured feature, configured structure feature, structure template, or jigsaw if possible.
Syntax[]
/place feature <feature> [<pos>]- Place the configured feature.
/place jigsaw <pool> <target> <max_depth> [<position>]- Place the jigsaw.
/place structure <structure> [<pos>]- Place the configured structure feature.
/place template <template> [<pos>] [<rotation>] [<mirror>] [<integrity>] [<seed>]- Place the structure template. (Works like using the load button in the UI for a structure block.)
Arguments[]
<feature>: resource_key
- Specifies the configured feature to place. See Feature for vanilla configured features.
- Must be a resource location which will be resolved during command execution into a registry entry in
minecraft:worldgen/configured_featureregistry.
<structure>: resource_key
- Specifies the configured structure feature. See Generated structures for vanilla structures.
- Must be a resource location which will be resolved during command execution into a registry entry in
minecraft:worldgen/structureregistry.
<pool>: resource_key
- Specifies the start structure pool to start generating a jigsaw.
- Must be a resource location which will be resolved during command execution into a registry entry in
minecraft:worldgen/template_poolregistry.
<target>: resource_location
- Specifies the jigsaw block that is connected to when generating the start structure pool.
- Must be a resource location which will be resolved during command execution into unregistered content or client-side content.
<max_depth>: integer
- Specifies the max depth of the jigsaw.
- Must be a 32-bit integer number. And it must be between 1 and 7 (inclusive).
<template>: resource_location
- Specifies the structure template to place.
- Must be a resource location which will be resolved during command execution into unregistered content or client-side content.
<pos>: block_pos and <position>: block_pos
- Specifies the position the placement should be tried.
- Must be a block position composed of
<x>,<y>and<z>, each of which must be an integer or a tilde and caret notation.
<rotation>: template_rotation
- Specifies the rotation to apply to the placed template.
- Must be either
none,clockwise_90,counterclockwise_90, or180. If omitted, defaults tonone.
<mirror>: template_mirror
- Specifies the mirroring to apply to the placed template.
- Must be either
none,front_back, orleft_right. If omitted, defaults tonone.
<integrity>: float
- Specifies the integrity value to apply to the placed template (how complete the template that gets placed is). If omitted, defaults to 1.0.
- Must be a Single-precision floating-point format number. And it must be between 0.0 and 1.0 (inclusive).
<seed>: integer
- Specifies the seed to use for randomized degradation of the placed template when integrity is less than 1. If omitted, defaults to 0.
- Must be a 32-bit integer number.
Result[]
| Command | Trigger | Java Edition |
|---|---|---|
| any | the arguments are not specified correctly | Unparseable |
/place feature ... | chunks to place in is unloaded or out of the world | Failed |
/place jigsaw ... | chunks to place in is unloaded or out of world[1] | Successful |
/place jigsaw ... <max_depth> | execution position is out of horizontal world boundary[1] | Error |
/place jigsaw ... <max_depth> <position> | specified <position> is unloaded or out of world | Failed |
/place structure ... | chunks to place in is unloaded or out of horizontal world boundary[1] | |
/place structure <structure> <pos> | specified <pos> is unloaded or out of world | |
/place feature ... | there's no configured feature with the provided ID | |
| the configured feature could not generate - depends on the configured feature | ||
/place jigsaw ... | there's no structure pool with the provided ID | |
| the specified start pool has no element[2] | Error | |
try to generate an empty element (empty_pool_element) in start pool | Failed | |
| the jigsaw block which needed to be connected to is not found in the start pool | ||
/place structure ... | there is no structure with the provided ID | |
| there is no valid position in this chunk to place the specified structure - depends on the structure | ||
| there is no valid biome in this chunk to place the specified structure - depends on the structure | ||
/place template ... | there is no template with the provided id | |
| there is no palette in this template file | ||
| there's no block and entity in this template file | ||
| any | Otherwise | Successful |
Output[]
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| any | Java Edition | On fail | 0 | 0 | 0 |
| On success | 1 | 1 | 1 | ||
| On error | 0 | unchanged | unchanged |
History[]
| Java Edition | |||||
|---|---|---|---|---|---|
| 1.19 | 22w18a | Added /place, replacing /placefeature. | |||
| 22w19a | /place can now place templates for structure blocks. | ||||
| Pre-release 1 | /place template can now be autocompleted. | ||||