Minecraft Wiki
Register
Advertisement
For command in Java Edition that can place structures, see Commands/place (Java Edition).
Information icon
This feature is exclusive to Bedrock Edition and Minecraft Education. 

Used to save and load structures without having to use structure blocks.

Syntax[]

structure save <name: string> <from: x y z> <to: x y z> [saveMode: StructureSaveMode]
structure save <name: string> <from: x y z> <to: x y z> [includesEntites: Boolean] [saveMode: StructureSaveMode] [includesBlocks: Boolean]
Saves a structure.
structure load <name: string> <to: x y z> [rotation: Rotation] [mirror: Mirror] [includesEntites: Boolean] [includesBlocks: Boolean] [waterlogged: Boolean] [integrity: float] [seed: string]
structure load <name: string> <to: x y z> [rotation: Rotation] [mirror: Mirror] [animationMode: StructureAnimationMode] [animationSeconds: float] [includesEntites: Boolean] [includesBlocks: Boolean] [waterlogged: Boolean] [integrity: float] [seed: string]
Loads a structure.
structure delete <name: string>
Deletes saved structure file.

Arguments[]

Main article: Structure Block

name: string: basic_string

Must be a string. And it must be a single word that has no space or a quoted string.
Should be in the format of name or namespace:name. If namespace is unspecified, defaults to mystructure:

from: x y z: CommandPosition and to: x y z: CommandPosition (in save mode)

Specifies any two opposing corner blocks of the region to be saved.
Must be a three-dimensional coordinates composed of <x>, <y> and <z>, each of which must be a floating-point number or tilde and caret notation.

to: x y z: CommandPosition (in load mode)

Specifies the lower northwest corner of the destination region.
Must be a three-dimensional coordinates composed of <x>, <y> and <z>, each of which must be a floating-point number or tilde and caret notation.

saveMode: StructureSaveMode: enum

Specifies the storage location.
Must be one of disk and memory. If not specified, defaults to memory.
disk saves the structure to the world database itself. After leaving and rejoining the world, the structure save files is still there.
memory only saves the structure in memery temporarily. When leaving and rejoining the world, the structure save files are gone.

includesEntities: Boolean: enum

Specifies whether including entities or not. If unspecified, defaults to true.
Must be a boolean (either true or false).

rotation: Rotation: enum

Specifies the rotation when loading a structure. If unspecified, defaults to 0_degrees.
Must be one of 0_degrees, 90_degrees, 180_degrees, and 270_degrees.

mirror: Mirror: enum

Specifies the axis of mirror flip when loading a structure. If unspecified, defaults to none.
Must be one of x, z, xz, and none.

animationMode: StructureAnimationMode: enum

Specifies the animation to generate structures.
Must be one of block_by_block and layer_by_layer.

animationSeconds: float: float

Specifies the duration of the animation.
Must be a Single-precision floating-point format number.

includesBlocks: Boolean: enum

Specifies whether including blocks or not. If unspecified, defaults to true.
Must be a boolean (either true or false).

integrity: float: float

Specifies the integrity (probability of each block being loaded). If 100, all blocks in the structure are loaded. If 0, no blocks are loaded. If unspecified, defaults to 100.
Must be a Single-precision floating-point format number. Should be between 0 and 100 (inclusive).

seed: string: basic_string

Specifies the seed when calculating whether a block should be loaded according to integrity. If unspecified, a random seed is taken.
Must be a string. And it must be a single word that has no space or a quoted string.

waterlogged: Boolean: enum

Specifies whether or not waterlog the blocks when the structure is loaded in water. If unspecified, defaults to false.
Must be a boolean (either true or false).

Result[]

CommandTriggerBedrock Edition
anythe arguments are not specified correctly Unparseable
one or both specified regions are unloaded or out of the world Failed
/structure save ...the region is greater than 64 * 256 * 64 (the equivalent of 16 chunk sections
/structure load ...
/structure delete ...
the specified structure does not exist
/structure load ...integrity: float is lower than 0 or higher than100
anyOtherwiseSuccessful

Output[]

CommandEditionSituationSuccess Count
anyBedrock EditionOn fail0
On success1

History[]

Bedrock Edition
1.16.100
{{Extension DPL}}<ul><li>[[Golden Carrot|Golden Carrot]]<br/>{{Item
| title = Golden Carrot
| image = Golden Carrot.png
| heals = {{hunger|6}}
| renewable = Yes
| stackable = Yes (64)
}}

A '''golden carrot''' is a valuable [[food]] item and [[brewing]] ingredient. It provides the second most saturation in the game, behind [[suspicious stew]] crafted with either a [[Flower|dandelion]] or [[Flower|blue orchid]].

==Obtaining==
=== Chest loot ===
{{LootChestItem|golden-carrot}}

=== Crafting ===
{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Carrot
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Golden Carrot
|type= Foodstuff
}}

=== Trading ===
Master-level farmer [[villager]]s have a 50% chance to sell 3 golden carrots for 3 [[emerald]]s {{in|bedrock}}, and always offer the same trade {{in|java}}.

== Usage ==
=== Food ===
To eat a golden carrot, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} and 14.4 [[Hunger#Mechanics|saturation points]]. 

=== Animal food ===
Golden carrots are used to tame, [[breed]], lead, grow, and heal [[horse]]s, [[donkey]]s, and [[mule]]s, and to breed, lead, and grow [[rabbit]]s.

=== Brewing ingredient ===
{{Brewing
  |showname=1
  |Golden Carrot
  |Potion of Night Vision
}}

== Sounds ==
{{Sound table/Entity/Food}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Golden Carrot
|spritetype=item
|nameid=golden_carrot
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Golden Carrot
|spritetype=item
|nameid=golden_carrot
|id=283
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Artificial Selection;Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny;Husbandry;A Balanced Diet}}

== Video ==
{{Video note|this video is outdated; it does not mention that golden carrots can be used as animal food.}}

<div style="text-align:center">{{yt|HJUaKroydLQ}}</div>

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Golden Carrot JE1.png|32px]] Added golden carrots.
|The new [[Potion of Night Vision]] is brewed by adding a golden carrot to an [[Awkward Potion]].}}
{{History|||snap=12w36a|[[File:Golden Carrot JE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=12w37a|[[File:Golden Carrot JE3 BE1.png|32px]] The texture of golden carrots has been changed in order to match the new [[carrot]] texture. The [[item]] sprite no longer has a dark outline.}}
{{History||1.6.1|snap=?|Golden carrots can now be used to tame, breed and heal horses and donkeys.}}
{{History||1.8|snap=?|Golden carrots can now be used to breed rabbits.}}
{{History|||snap=14w32a|Moved golden carrots from the Foodstuffs tab to the Brewing tab in the [[Creative inventory]].<ref name="gold carrot inventory">https://bugs.mojang.com/browse/MC-3664</ref>}}
{{History||1.8.1|snap=pre1|Rabbits now follow players holding golden carrots.<ref>{{bug|MC-70054|||Fixed}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 396.}}
{{History||1.14|snap=18w43a|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] golden carrots.}}
{{History||1.16|snap=20w16a|Golden carrots can now be found in [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|Golden carrots can now be found in [[bastion remnant]] chests.}}
{{History||1.18|snap=experimental snapshot 6|Horses, donkeys and mules now follow players holding golden carrots.}}
{{History||1.19|snap=22w13a|Golden carrots may now be found in [[ancient city]] ice box [[chest]]s.
|A single golden carrot now generates in the [[chest]] in <code>ancient_city/city_center/city_center_2</code>.}}
{{History|||snap=22w14a|The golden carrot in the chest in <code>ancient_city/city_center/city_center_2</code> has been replaced with a [[golden apple]].}}


{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||v0.13.0|snap=build 1| Golden carrots can now be used to feed [[rabbit]]s.}}
{{History||v0.15.0|snap=build 1|Golden carrots can now be used to feed [[horse]]s and [[donkey]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Golden carrots can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Trading has been changed, master-level farmer now has {{frac|1|3}} chance to sell golden carrots.}}
{{History||1.16.0|snap=beta 1.16.0.57|Golden carrots now generate in [[ruined portal]] chests.
|Golden carrots trade offering chance changed to 50%.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* [[Carrot]]
* [[Golden Apple]]

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--golden-carrot Taking Inventory: Golden Carrot] – Minecraft.net on September 6, 2022

{{items}}

[[cs:Zlatá mrkev]]
[[de:Goldene Karotte]]
[[es:Zanahoria dorada]]
[[fr:Carotte dorée]]
[[hu:Aranyrépa]]
[[ja:金のニンジン]]
[[ko:황금 당근]]
[[nl:Gouden wortel]]
[[pl:Złota marchewka]]
[[pt:Cenoura dourada]]
[[ru:Золотая морковь]]
[[uk:Золота морква]]
[[zh:金胡萝卜]]
[[Category:Renewable resources]]
[[Category:Food]]
[[Category:Brewing recipe]]</li><li>[[Poisonous Potato|Poisonous Potato]]<br/>{{Item
| title = Poisonous Potato
| image = Poisonous Potato.png
| heals = {{hunger|2}}
|effects={{EffectLink|Poison}} (0:05) (60% chance)
| stackable = Yes (64)
| renewable = Yes
}}

A '''poisonous potato''' is a type of [[potato]] that can [[poison]] the [[player]].

== Obtaining ==

The poisonous potato is a rare [[drop]] when harvesting (destroying) [[potato|potato crops]]; a fully grown plant has a 2% chance of dropping one in addition to the 2-5 regular potatoes.

=== Chest loot ===

{{LootChestItem|poisonous-potato}}

== Usage ==
Poisonous potatoes cannot be planted on [[farmland]] or [[Baked Potato|baked]]. They also have no use with the [[composter]].<ref>{{bug|MC-142373|resolution=WAI}}</ref>

=== Food ===
{{see also|Tutorials/Hunger management|title1=Hunger management}}
To eat a poisonous potato, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} [[hunger]] and 1.2 hunger [[Hunger#Mechanics|saturation]] and has a 60% chance of applying 5 seconds of [[Poison]] II, draining {{hp|4|poisoned=1}} points of [[health]].
Interestingly, a poisonous potato actually restores double the hunger and saturation than a normal, unpoisoned potato. (A normal potato gives {{hunger|1}} hunger and 0.6 saturation points.)

==Sounds==
{{Sound table/Entity/Food}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Poisonous Potato
|spritetype=item
|nameid=poisonous_potato
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Poisonous Potato
|spritetype=item
|nameid=poisonous_potato
|id=282
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History||1.13|snap=17w47a|Prior to [[Java_Edition_1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 394.}}
{{History|||snap=18w11a|Poisonous potatoes now generate in the [[chest]]s of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Poisonous Potato JE2.png|32px]] The texture of poisonous potatoes has been changed.}}
{{History|||snap=18w50a|[[File:Poisonous Potato JE3 BE2.png|32px]] The texture of poisonous potatoes has been changed, once again.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Poisonous potatoes can now be found inside of [[shipwreck]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Poisonous Potato JE3 BE2.png|32px]] The texture of poisonous potatoes has been changed.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Poisonous Potato JE3 BE2.png|32px]] The texture of poisonous potatoes has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

{{Items}}

[[Category:Plants]]

[[cs:Jedovatá brambora]]
[[de:Giftige Kartoffel]]
[[es:Patata envenenada]]
[[fr:Pomme de terre empoisonnée]]
[[hu:Mérgező burgonya]]
[[it:Patata velenosa]]
[[ja:青くなったジャガイモ]]
[[ko:독이 있는 감자]]
[[nl:Giftige aardappel]]
[[pl:Trujący ziemniak]]
[[pt:Batata venenosa]]
[[ru:Ядовитый картофель]]
[[th:มันฝรั่งพิษ]]
[[uk:Отруйна картопля]]
[[zh:毒马铃薯]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
beta 1.16.100.52Added /structure.
beta 1.16.100.60Added the ability to animate the placement of a structure.
1.16.210
{{Extension DPL}}<ul><li>[[Disc Fragment|Disc Fragment]]<br/>{{Item
| image = Disc Fragment.png
| renewable = No
| stackable = Yes (64)
}}

A '''disc fragment''' is a [[music disc]] fragment obtained from [[ancient city]] loot chests. Nine fragments can be combined in a [[Crafting Table|crafting table]] to make a music disc named "5".

== Obtaining ==
=== Chest loot ===
{{LootChestItem|disc-fragment-5}}

== Usage ==
=== Crafting ingredient ===
{{crafting usage|Disc Fragment 5}}
== Data values ==
=== ID ===
{{ID table
|edition=java<!--
|showitemtags=y-->
|showforms=y
|firstcolumnname=Track
|generatetranslationkeys=y
|displayname=Samuel Åberg - 5
|spritename=disc-fragment-5
|spritetype=item
|nameid=disc_fragment_5<!--
|itemtags=-->
|form=item
|foot=y}}

== History ==
{{History|java}}
{{History||1.19|snap=22w16a|[[File:Disc Fragment.png|32px]] Added disc fragments.}}
{{History|bedrock}}
{{History||1.19.0|snap=beta 1.19.0.28|[[File:Disc Fragment.png|32px]] Added disc fragments.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
9 to 5.jpg|9 fragments of the 5 music disc.
</gallery>

==See also==
* {{EnvLink|Music}}
* {{ItemLink|Music Disc}}

{{Items}}

[[de:Plattenbruchstück]]
[[es:Fragmento de disco]]
[[fr:Fragment de disque]]
[[ja:レコードの破片]]
[[pl:Fragment płyty]]
[[pt:Fragmento de disco]]
[[ru:Фрагмент пластинки 5]]
[[uk:Фрагмент платівки]]
[[zh:唱片残片]]
[[Category:Non-renewable resources]]</li><li>[[Trial Key|Trial Key]]<br/>{{Item|
|image=Trial Key .webp
|renewable=Yes
|stackable=Yes (64)
}}
{{Stub}}
{{in dev|java|bedrock|1.21|1.21.0}}

A '''Trial Key''' is an item found in [[Trial Chambers]].

Its functionality remained a mystery for a pretty good time, but on the Minecraft Monthly of January 2024, it has been revealed to open vaults, which once opened will drop an item. It's still unknown what will the loot be, but was seen dispensing the following:
Enchanted iron helmet, enchanted iron leggings, enchanted crossbow, enchanted diamond chestplate, iron, gold and diamond horse armour, enchanted golden apple, saddle, enchanted diamond axe, enchanted iron pickaxe and enchanted iron Shovel. 

The trial key can currently be obtained from trial spawners (50%), or from pots and chests (8%).

[[Category:Items]]

[[ja:Trial Key]]
[[lzh:煉管]]</li></ul>
beta 1.16.210.54/structure now has the ability to delete saved structure files.
Advertisement