Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/place: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 1: Line 1:
{{for|the removed command with the same name {{MC/In|education}}|Commands/place (Education)}}
{{for|the removed command with the same name {{in|education}}|Commands/place (Education)}}
{{for|the command that places a structure template {{MC/In|bedrock}}|Commands/structure}}
{{for|the command that places a structure template {{in|bedrock}}|Commands/structure}}
{{Infobox command
{{Infobox command
|name=place
|name=place
|oplevel=2
|oplevel=2
|others=Cheat only{{only|be|short=1}}
|others=[[Minecraft:Cheat]] only{{only|be|short=1}}
}}
}}


Places a configured feature, structure, structure template, or template pool if possible.
Places a [[Minecraft:configured feature]], [[Minecraft:Structure/JSON format|structure]], [[Minecraft:structure template]], or [[Minecraft:template pool]] if possible.


== Syntax ==
== Syntax ==
=== ''Java Edition'' ===
=== ''Java Edition'' ===
:<code>place feature <feature> [<pos>]</code>
:<code>place feature <feature> [<pos>]</code>
::Place the configured feature.
::Place the [[Minecraft:configured feature]].
:<code>place jigsaw <pool> <target> <max_depth> [<position>]</code>
:<code>place jigsaw <pool> <target> <max_depth> [<position>]</code>
::Place a jigsaw structure starting with the specified template pool, starting jigsaw block and maximum depth.
::Place a [[Minecraft:jigsaw structure]] starting with the specified [[Minecraft:template pool]], starting [[Minecraft:jigsaw block]] and maximum depth.
:<code>place structure <structure> [<pos>]</code>
:<code>place structure <structure> [<pos>]</code>
::Place the structure.
::Place the [[Minecraft:Structure/JSON format|structure]].


:<code>place template <template> [<pos>] [<rotation>] [<mirror>] [<integrity>] [<seed>] [strict]</code>
:<code>place template <template> [<pos>] [<rotation>] [<mirror>] [<integrity>] [<seed>] [strict]</code>
::Place the structure template. (Works like using the load button in the UI for a structure block.)
::Place the [[Minecraft:structure template]]. (Works like using the load button in the UI for a [[Minecraft:structure block]].)


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
Line 27: Line 27:


:<code>place jigsaw <pool: filepath> <jigsawTarget: string> <maxDepth: int> [pos: x y z] [keepJigsaws: Boolean] [includeEntities: Bolean] [liquidSettings: LiquidSettings]</code>
:<code>place jigsaw <pool: filepath> <jigsawTarget: string> <maxDepth: int> [pos: x y z] [keepJigsaws: Boolean] [includeEntities: Bolean] [liquidSettings: LiquidSettings]</code>
::Place a jigsaw structure starting with the specified template pool, starting jigsaw block and maximum depth.
::Place a [[Minecraft:jigsaw structure]] starting with the specified [[Minecraft:template pool]], starting [[Minecraft:jigsaw block]] and maximum depth.


:<code>place structure <structure: string> [pos: x y z] [ignoreStartHeight: Boolean] [keepJigsaws: Boolean] [includeEntities: Boolean] [liquidSettings: LiquidSettings]</code>  
:<code>place structure <structure: string> [pos: x y z] [ignoreStartHeight: Boolean] [keepJigsaws: Boolean] [includeEntities: Boolean] [liquidSettings: LiquidSettings]</code>  
::Place the structure.
::Place the [[Minecraft:Structure/JSON format|structure]].
:::Only {{MC/EnvLink|Trail Ruins}} and {{MC/EnvLink|Trial Chambers}} and custom jigsaw structures can be placed.
:::Only {{EnvLink|Trail Ruins}} and {{EnvLink|Trial Chambers}} and custom jigsaw structures can be placed.


== Arguments ==
== Arguments ==
{{MC/El|je|short=1}}: {{MC/Argument|feature|resource_key}}
{{el|je|short=1}}: {{argument|feature|resource_key}}
:Specifies the configured feature to place. See [[Minecraft:Feature]] for vanilla configured features.
:Specifies the [[Minecraft:configured feature]] to place. See [[Minecraft:Feature]] for vanilla configured features.
:{{MC/Arg desc|je=resource_key|registry=minecraft:worldgen/configured_feature}}
:{{arg desc|je=resource_key|registry=minecraft:worldgen/configured_feature}}


{{MC/Argument|structure|resource_key|structure: string|basic_string}}
{{argument|structure|resource_key|structure: string|basic_string}}
:Specifies the structure. See [[Minecraft:Structure]] for vanilla structures.
:Specifies the [[Minecraft:Structure/JSON format|structure]]. See [[Minecraft:Structure]] for vanilla structures.
:{{MC/Arg desc|je=resource_key|registry=minecraft:worldgen/structure}}
:{{arg desc|je=resource_key|registry=minecraft:worldgen/structure}}


{{MC/Argument|pool|resource_key|pool: filepath|CommandFilePath}}
{{argument|pool|resource_key|pool: filepath|CommandFilePath}}
:Specifies the start template pool to start generating a jigsaw.
:Specifies the start [[Minecraft:template pool]] to start generating a jigsaw.
:{{MC/Arg desc|je=resource_key|registry=minecraft:worldgen/template_pool}}
:{{arg desc|je=resource_key|registry=minecraft:worldgen/template_pool}}


{{MC/Argument|target|resource_location|jigsawTarget: string|basic_string}}
{{argument|target|resource_location|jigsawTarget: string|basic_string}}
:Specifies the jigsaw block that is connected to when generating the start structure pool.
:Specifies the [[Minecraft:jigsaw block]] that is connected to when generating the start structure pool.
:{{MC/Arg desc|je=resource_location}}
:{{arg desc|je=resource_location}}


{{MC/Argument|max_depth|integer|maxDepth|int}}
{{argument|max_depth|integer|maxDepth|int}}
:Specifies the max depth of the jigsaw.
:Specifies the max depth of the jigsaw.
:{{MC/Arg desc|je=integer|min=1|max=20}}
:{{arg desc|je=integer|min=1|max=20}}


{{MC/El|be|short=1}}: {{MC/Argument|keepJigsaws: Boolean|enum}}
{{el|be|short=1}}: {{argument|keepJigsaws: Boolean|enum}}
:Specifies whether the jigsaws should be kept or not. If not specified, defaults to <code>false</code>.
:Specifies whether the jigsaws should be kept or not. If not specified, defaults to <code>false</code>.
:{{MC/Arg desc|je=bool}}
:{{arg desc|je=bool}}


{{MC/El|je|short=1}}: {{MC/Argument|template|resource_location}}
{{el|je|short=1}}: {{argument|template|resource_location}}
:Specifies the structure template to place.
:Specifies the [[Minecraft:structure template]] to place.
:{{MC/Arg desc|je=resource_location}}
:{{arg desc|je=resource_location}}


{{MC/El|je|short=1}}: {{MC/Argument|pos|block_pos}} and {{MC/Argument|position|block_pos}}<br>
{{el|je|short=1}}: {{argument|pos|block_pos}} and {{argument|position|block_pos}}<br>
{{MC/El|be|short=1}}: {{MC/Argument|pos: x y z|CommandPosition}}
{{el|be|short=1}}: {{argument|pos: x y z|CommandPosition}}
:Specifies the start position of the placement.
:Specifies the start position of the placement.
:{{MC/Arg desc|je=block_pos}}
:{{arg desc|je=block_pos}}


{{MC/El|be|short=1}}: {{MC/Argument|be=1|feature: features|enum}}
{{el|be|short=1}}: {{argument|be=1|feature: features|enum}}
:Specifies the feature.
:Specifies the feature.
:{{MC/Arg desc|be=enum}}
:{{arg desc|be=enum}}


{{MC/El|be|short=1}}: {{MC/Argument|be=1|featurerule: featureRules|enum}}
{{el|be|short=1}}: {{argument|be=1|featurerule: featureRules|enum}}
:Specifies the feature rule.
:Specifies the feature rule.
:{{MC/Arg desc|be=enum}}
:{{arg desc|be=enum}}


{{MC/El|be|short=1}}: {{MC/Argument|ignoreStartHeight: Boolean|enum}}
{{el|be|short=1}}: {{argument|ignoreStartHeight: Boolean|enum}}
:Specifies whether the structure should start generating at the given Y coordinate or follow its set height placement rules. If not specified, defaults to <code>false</code>.
:Specifies whether the structure should start generating at the given Y coordinate or follow its set height placement rules. If not specified, defaults to <code>false</code>.
:{{MC/Arg desc|je=bool}}
:{{arg desc|je=bool}}


{{MC/El|be|short=1}}: {{MC/Argument|includeEntities: Boolean|enum}}
{{el|be|short=1}}: {{argument|includeEntities: Boolean|enum}}
:Specifies whether the structure will include the entities saved in it or not. If not specified, defaults to <code>false</code>.
:Specifies whether the structure will include the entities saved in it or not. If not specified, defaults to <code>false</code>.
:{{MC/Arg desc|je=bool}}
:{{arg desc|je=bool}}


{{MC/El|be|short=1}}: {{MC/Argument|liquidSettings: LiquidSettings|?}}
{{el|be|short=1}}: {{argument|liquidSettings: LiquidSettings|?}}
:Specifies whether the structure will waterlog present blocks or not.
:Specifies whether the structure will waterlog present blocks or not.
:Must be either {{MC/Cd|ignore_waterlogging}}, or {{MC/Cd|apply_waterlogging}}. If omitted, defaults to {{MC/Cd|apply_waterlogging}}.
:Must be either {{cd|ignore_waterlogging}}, or {{cd|apply_waterlogging}}. If omitted, defaults to {{cd|apply_waterlogging}}.


{{MC/El|je|short=1}}: {{MC/Argument|rotation|template_rotation}}
{{el|je|short=1}}: {{argument|rotation|template_rotation}}
:Specifies the rotation to apply to the placed template.
:Specifies the rotation to apply to the placed template.
:Must be either {{MC/Cd|none}}, {{MC/Cd|clockwise_90}}, {{MC/Cd|counterclockwise_90}}, or {{MC/Cd|180}}. If omitted, defaults to {{MC/Cd|none}}.
:Must be either {{cd|none}}, {{cd|clockwise_90}}, {{cd|counterclockwise_90}}, or {{cd|180}}. If omitted, defaults to {{cd|none}}.


{{MC/El|je|short=1}}: {{MC/Argument|mirror|template_mirror}}
{{el|je|short=1}}: {{argument|mirror|template_mirror}}
:Specifies the mirroring to apply to the placed template.
:Specifies the mirroring to apply to the placed template.
:Must be either {{MC/Cd|none}}, {{MC/Cd|front_back}}, or {{MC/Cd|left_right}}. If omitted, defaults to {{MC/Cd|none}}.
:Must be either {{cd|none}}, {{cd|front_back}}, or {{cd|left_right}}. If omitted, defaults to {{cd|none}}.


{{MC/El|je|short=1}}: {{MC/Argument|integrity|float}}
{{el|je|short=1}}: {{argument|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.
:Specifies the integrity value to apply to the placed template (how complete the template that gets placed is). If omitted, defaults to 1.0.
:{{MC/Arg desc|je=float|min=0.0|max=1.0}}  
:{{arg desc|je=float|min=0.0|max=1.0}}  


{{MC/El|je|short=1}}: {{MC/Argument|seed|integer}}
{{el|je|short=1}}: {{argument|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.
:Specifies the seed to use for randomized degradation of the placed template when integrity is less than 1. If omitted, defaults to 0.
:{{MC/Arg desc|je=integer}}
:{{arg desc|je=integer}}


{{MC/El|je|short=1}}: {{MC/Cd|strict}}
{{el|je|short=1}}: {{cd|strict}}
:Makes the command place blocks as-is without triggering block updates and shape updates.
:Makes the command place blocks as-is without triggering block updates and shape updates.


Line 129: Line 129:


== Output ==
== Output ==
{{MC/Output table}}
{{Output table}}
{{MC/Output table|edition=je|On fail|0|0|0}}
{{Output table|edition=je|On fail|0|0|0}}
{{MC/Output table|On success|1|1|1}}
{{Output table|On success|1|1|1}}
{{MC/Output table|On error|0|unchanged|unchanged}}
{{Output table|On error|0|unchanged|unchanged}}
{{MC/Output table|edition=be|On fail|0|N/A|N/A}}
{{Output table|edition=be|On fail|0|N/A|N/A}}
{{MC/Output table|On success|1|N/A|N/A}}
{{Output table|On success|1|N/A|N/A}}
{{MC/Output table}}
{{Output table}}


== History ==
== History ==
=== ''Java Edition'' ===
=== ''Java Edition'' ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.19|dev=22w18a|Added {{MC/Cd|/place}}, replacing {{MC/Cmd|placefeature}}.}}
|{{HistoryLine||1.19|dev=22w18a|Added {{cd|/place}}, replacing {{cmd|placefeature}}.}}
|{{HistoryLine|||dev=22w19a|{{MC/Cd|/place}} can now place templates for structure blocks.}}
|{{HistoryLine|||dev=22w19a|{{cd|/place}} can now place templates for structure blocks.}}
|{{HistoryLine|||dev=Pre-release 1|{{MC/Cd|/place template}} can now be autocompleted.}}
|{{HistoryLine|||dev=Pre-release 1|{{cd|/place template}} can now be autocompleted.}}
|{{HistoryLine||1.20.5|dev=24w07a|Now the limit of max depth in {{MC/Cd|/place}} is 20 instead of 7.<ref>{{bug|MC-267732|||fixed}}</ref>}}
|{{HistoryLine||1.20.5|dev=24w07a|Now the limit of max depth in {{cd|/place}} is 20 instead of 7.<ref>{{bug|MC-267732|||fixed}}</ref>}}
|{{HistoryLine|||dev=pre2|Now {{MC/Cmd|place jigsaw|link=none}} checks whether the position is unloaded or out of the world before placement.<ref>{{bug|MC-259355|||fixed}}</ref>}}
|{{HistoryLine|||dev=pre2|Now {{cmd|place jigsaw|link=none}} checks whether the position is unloaded or out of the world before placement.<ref>{{bug|MC-259355|||fixed}}</ref>}}
|{{MC/HistoryLine||1.21.5|dev=25w02a|Accepts a new option: <code>strict</code>.|New syntax for commands to use the new strict option.}}
|{{HistoryLine||1.21.5|dev=25w02a|Accepts a new option: <code>strict</code>.|New syntax for commands to use the new strict option.}}
}}
}}


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.21.50|exp=Data-Driven Jigsaw Structures|dev=Preview 1.21.50.26|Added {{MC/Cd|/place}} behind the "Data-Driven Jigsaw Structures" experimental toggle.}}
|{{HistoryLine||1.21.50|exp=Data-Driven Jigsaw Structures|dev=Preview 1.21.50.26|Added {{cd|/place}} behind the "Data-Driven Jigsaw Structures" [[Minecraft:experimental]] toggle.}}
|{{HistoryLine||1.21.60|exp=Upcoming Creator Features|dev=Preview 1.21.60.23|Added {{MC/Cd|feature}} and {{MC/Cd|featurerule}} subcommands behind the "Upcoming Creator Features" experimental toggle.}}
|{{HistoryLine||1.21.60|exp=Upcoming Creator Features|dev=Preview 1.21.60.23|Added {{cd|feature}} and {{cd|featurerule}} subcommands behind the "Upcoming Creator Features" [[Minecraft:experimental]] toggle.}}
|{{HistoryLine||1.21.70|dev=Preview 1.21.70.22|Moved the {{MC/Cd|/place}} with the subcommands {{MC/Cd|feature}} and {{MC/Cd|featurerule}} out of the "Upcoming Creator Features" experiment.}}
|{{HistoryLine||1.21.70|dev=Preview 1.21.70.22|Moved the {{cd|/place}} with the subcommands {{cd|feature}} and {{cd|featurerule}} out of the "Upcoming Creator Features" experiment.}}
|{{HistoryLine||1.21.80|dev=Preview 1.21.80.22|Moved the subcommands {{MC/Cd|structure}} and {{MC/Cd|jigsaw}} out of the "Data-Driven Jigsaw Structures" experiment.}}
|{{HistoryLine||1.21.80|dev=Preview 1.21.80.22|Moved the subcommands {{cd|structure}} and {{cd|jigsaw}} out of the "Data-Driven Jigsaw Structures" experiment.}}
|{{HistoryLine||1.21.90|dev=Preview 1.21.90.21|Added subfield {{MC/Cd|[liquidSettings: LiquidSettings]}} to {{MC/Cmd|place jigsaw|link=none}} and {{MC/Cmd|place structure|link=none}} which controls whether the structure will apply waterlogged or ignore.}}
|{{HistoryLine||1.21.90|dev=Preview 1.21.90.21|Added subfield {{cd|[liquidSettings: LiquidSettings]}} to {{cmd|place jigsaw|link=none}} and {{cmd|place structure|link=none}} which controls whether the structure will apply [[Minecraft:waterlogged]] or ignore.}}
}}
}}


Line 162: Line 162:
The check to ensure that the target position is loaded works by testing if blocks are placeable at Y=0 in the target chunk. If this check is made in a custom dimension where Y=0 is out of the world, it will always fail, preventing the command from ever succeeding.<ref>{{bug|MC-255097}}</ref>
The check to ensure that the target position is loaded works by testing if blocks are placeable at Y=0 in the target chunk. If this check is made in a custom dimension where Y=0 is out of the world, it will always fail, preventing the command from ever succeeding.<ref>{{bug|MC-255097}}</ref>


{{MC/Issue list}}
{{issue list}}


== References ==
== References ==
{{MC/Reflist}}
{{Reflist}}


== External links ==
== External links ==
Line 172: Line 172:


== Navigation ==
== Navigation ==
{{MC/Navbox commands}}
{{Navbox commands}}


de:Befehl/place
[[Minecraft:de:Befehl/place]]
es:Comandos/place
[[Minecraft:es:Comandos/place]]
ja:コマンド/place
[[Minecraft:fr:Commandes/place]]
pt:Comandos/place
[[Minecraft:ja:コマンド/place]]
ru:Команды консоли/place
[[Minecraft:pt:Comandos/place]]
zh:命令/place
[[Minecraft:ru:Команды консоли/place]]
[[Minecraft:zh:命令/place]]

Latest revision as of 11:03, 19 May 2026

Template:For Template:For Template:Infobox command

Places a Minecraft:configured feature, structure, Minecraft:structure template, or Minecraft:template pool if possible.

Syntax

Java Edition

place feature <feature> [<pos>]
Place the Minecraft:configured feature.
place jigsaw <pool> <target> <max_depth> [<position>]
Place a Minecraft:jigsaw structure starting with the specified Minecraft:template pool, starting Minecraft:jigsaw block and maximum depth.
place structure <structure> [<pos>]
Place the structure.
place template <template> [<pos>] [<rotation>] [<mirror>] [<integrity>] [<seed>] [strict]
Place the Minecraft:structure template. (Works like using the load button in the UI for a Minecraft:structure block.)

Bedrock Edition

place feature <feature: features> [position: x y z]
place featurerule <featurerule: featureRules> [position: x y z]
Place the Minecraft:feature.
place jigsaw <pool: filepath> <jigsawTarget: string> <maxDepth: int> [pos: x y z] [keepJigsaws: Boolean] [includeEntities: Bolean] [liquidSettings: LiquidSettings]
Place a Minecraft:jigsaw structure starting with the specified Minecraft:template pool, starting Minecraft:jigsaw block and maximum depth.
place structure <structure: string> [pos: x y z] [ignoreStartHeight: Boolean] [keepJigsaws: Boolean] [includeEntities: Boolean] [liquidSettings: LiquidSettings]
Place the structure.
Only Template:EnvLink and Template:EnvLink and custom jigsaw structures can be placed.

Arguments

Template:El: Template:Argument

Specifies the Minecraft:configured feature to place. See Minecraft:Feature for vanilla configured features.
Template:Arg desc

Template:Argument

Specifies the structure. See Minecraft:Structure for vanilla structures.
Template:Arg desc

Template:Argument

Specifies the start Minecraft:template pool to start generating a jigsaw.
Template:Arg desc

Template:Argument

Specifies the Minecraft:jigsaw block that is connected to when generating the start structure pool.
Template:Arg desc

Template:Argument

Specifies the max depth of the jigsaw.
Template:Arg desc

Template:El: Template:Argument

Specifies whether the jigsaws should be kept or not. If not specified, defaults to false.
Template:Arg desc

Template:El: Template:Argument

Specifies the Minecraft:structure template to place.
Template:Arg desc

Template:El: Template:Argument and Template:Argument
Template:El: Template:Argument

Specifies the start position of the placement.
Template:Arg desc

Template:El: Template:Argument

Specifies the feature.
Template:Arg desc

Template:El: Template:Argument

Specifies the feature rule.
Template:Arg desc

Template:El: Template:Argument

Specifies whether the structure should start generating at the given Y coordinate or follow its set height placement rules. If not specified, defaults to false.
Template:Arg desc

Template:El: Template:Argument

Specifies whether the structure will include the entities saved in it or not. If not specified, defaults to false.
Template:Arg desc

Template:El: Template:Argument

Specifies whether the structure will waterlog present blocks or not.
Must be either Template:Cd, or Template:Cd. If omitted, defaults to Template:Cd.

Template:El: Template:Argument

Specifies the rotation to apply to the placed template.
Must be either Template:Cd, Template:Cd, Template:Cd, or Template:Cd. If omitted, defaults to Template:Cd.

Template:El: Template:Argument

Specifies the mirroring to apply to the placed template.
Must be either Template:Cd, Template:Cd, or Template:Cd. If omitted, defaults to Template:Cd.

Template:El: Template:Argument

Specifies the integrity value to apply to the placed template (how complete the template that gets placed is). If omitted, defaults to 1.0.
Template:Arg desc

Template:El: Template:Argument

Specifies the seed to use for randomized degradation of the placed template when integrity is less than 1. If omitted, defaults to 0.
Template:Arg desc

Template:El: Template:Cd

Makes the command place blocks as-is without triggering block updates and shape updates.

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

The check to ensure that the target position is loaded works by testing if blocks are placeable at Y=0 in the target chunk. If this check is made in a custom dimension where Y=0 is out of the world, it will always fail, preventing the command from ever succeeding.<ref>Template:Bug</ref>

Template:Issue list

References

Template:Reflist

External links

Navigation

Template:Navbox commands

Minecraft:de:Befehl/place Minecraft:es:Comandos/place Minecraft:fr:Commandes/place Minecraft:ja:コマンド/place Minecraft:pt:Comandos/place Minecraft:ru:Команды консоли/place Minecraft:zh:命令/place