Structure Block
Rarity |
Epic |
---|---|
Renewable |
No |
Stackable |
Yes (64) |
Tool |
None |
Blast resistance |
3,600,000 |
Hardness |
-1 |
Luminant |
No |
Transparent |
No |
Flammable |
No |
Catches fire from lava |
No |
A structure block is used to manually generate structures. They can also be used to save and load structures, alongside structure void blocks.
Contents
Obtaining[edit]
Structure blocks are available only using the /setblock
, /fill
, or /give
commands, meanwhile it can be obtained in the creative inventory in Education Edition. Structure blocks when placed are unbreakable in survival and have the same blast resistance as bedrock. This is similar to the command block. In Bedrock Edition, all structure block types are obtainable through commands with data values, including corner[Java Edition only] and data[Java Edition only] modes and the inventory model, although those three will default to save mode when placed.
UI[edit]
In Bedrock Edition, the UI includes a visual of the structure within the structure border, which makes up for the lack of the corner mode. In Java Edition, however, because there is no visual, a corner block can be used to assist in getting a structure properly within the structure border.
Usage[edit]
When placed, use the structure block to open the structure block GUI. The GUI opens only if the player is in Creative mode, and has the proper permissions. Once a structure is named, its name appears above the structure block when highlighted, preceded by the block mode (e.g. "Save:House").[Java Edition only]
Before being placed, the structure block uses a "blank" texture in the inventory, a texture that is not used when on a placed block.
A piston cannot move a structure block.
Structures saved only to memory have a higher priority than structures of the same name that were saved to disk. To remove a structure from active memory, players need to quit and reload their current game.
Switching between modes preserves the settings of the structure block wherever possible.
Save[edit]
Save mode allows the player to highlight a structure in the world and save it to a file.
- Structure Name
- The name of the structure is entered into this text box. Capital letters[JE only] and special characters are not allowed. Underscores (_) and hyphens (-) are allowed. It has "mystructure:" prefix on default.
- Relative Position
- Enter the X, Y, and Z values for the structure here, based on the position of the structure block. Sets the origin of the structure outline.
- Maximum allowed distance from the structure block in Java Edition is 48 blocks in any direction and 64 on horizontal direction and 256 on vertical direction in Bedrock Edition.
- Show invisible blocks [JE only]
- Displays air and structure void blocks as small colored cubes. Red cubes signify structure void, while blue cubes signify air. Off by default.
- Structure Size
- Enter the X, Y, and Z values to set the distance from the Relative Position coordinates. This sets the opposite corner of the structure, and defines its size.
- Maximum structure size is 48x48x48 In Java Edition and 64x256x64 In Bedrock Edition.
- When successful, generates a white outline surrounding the structure.[JE only] In Bedrock Edition, the outline is green, blue, or red (depending on the axis) and the preview design can be used to see every layer of fragmented structure and to change the structure size to be saved.
- Detect structure size and position [JE only]
- Automatically calculates the size and position of the structure using a corner block placed on the opposite corner of the structure.
- The name of the structure in the save block must match the name within the corner block, or the size calculation fails.
- Two corner blocks can also be used. It will use the second corner block instead of the structure block.
- Include entities
- While saving the structure, saves any entities within the structure as well
- Save
- When all coordinates and a structure name have been entered, press this button to save the structure to a file. The name of the structure is the name of the file.
- Structures can be saved to a file on disk only by manually pressing this button. If a structure block in Save mode is instead powered by redstone, the structure is saved only in memory by default. This is the case even if a file for that structure already exists on disk. Reloading the world clears any structures stored in memory. In Bedrock Edition, the player can set up the structure block so that it saves to the disk even when automated with redstone.
- By default, structure blocks are saved in the
minecraft
namespace. This can be changed by prefixing the structure name with<namespace>:
in the structure block. - In Java Edition, structures are saved in
.minecraft/saves/(WorldName)/generated/(namespace)/structures
. [note 1]
- In Bedrock Edition, structures are saved together with other world data rather than a standalone file.
- Export [BE only]
- Used to export a structure into a
.mcstructure
file, which can be used to load from thestructures
folder of a behavior pack. If the structure contains a custom block from a behavior pack, then the block is also saved on the structure block.
Load[edit]
Load mode allows the player to load and rotate saved structure files.
- Structure Name
- The path and name of the structure file to load from.
- Structure files may be found in two locations - in
/data/minecraft/structures/
in minecraft.jar for default structures, and in.minecraft/saves/<World Name>/generated/minecraft/structures/
for user-created structures.
- The following folders exist in minecraft.jar:
- To load a structure from a folder, simply type
minecraft:<folder_name>/<structure_name>
or if stored at the top level of thestructures
folder (such as those created in the Save mode) typeminecraft:<structure_name>
.- Example 1:
minecraft:shipwreck/with_mast
- Example 2:
minecraft:village/snowy/houses/snowy_tannery_1
- Example 3:
minecraft:my_redstone_contraption
- Example 1:
- Relative Position
- The X, Y, and Z coordinates of the corner in which to generate the structure, based on the position of the structure block. Coordinates may be defined as numbers between -48 and 48 In Java Edition, or between -64 and 64 In Bedrock Edition.
- Show bounding box
- Highlights the outline of the structure; on by default.
- Structure Integrity and Seed
- Removes random blocks that compose the structure based on a user-defined seed.
- Lower integrity values result in more blocks being removed. The integrity value must be between 0.0 and 1.0.
- Include entities
- Include any entities saved in the structure file when loading the structure. Off by default.
- Rotation (0, 90, 180, 270)
- Sets the rotation of the structure to 0° (no rotation), 90° clockwise, 180° clockwise, and 270° clockwise (or 90° counter-clockwise).
- Mirror (¦, <>, ^v)
- Sets the mirroring of the structure to none (
¦
), left to right (< >
), or front to back (^ v
). At 0° rotation< >
mirrors across the X-axis and^ v
mirrors across the Z-axis.
- Load
- Type in the name of the structure and press this button once to prepare the outline preview of the structure. When satisfied with the position, press again to generate the structure.This process may also be automated with the use of redstone.
Corner[edit]
Corner mode[Java Edition only] allows for an easier and automatic size calculation while saving or loading structures.
- To use, place on the opposite corner of a save structure block or a second corner structure block. Then, using a save block, press "DETECT".
- When successful, a white outline appears.
- Structure Name
- The name of the structure on which to calculate the size and position.
- Name is case sensitive; it must match exactly with the name provided by the complementary save or corner structure block.
Data[edit]
Data mode[Java Edition only] can be used only during natural generation. They mark the location to run a function specified by its metadata input, which can be used only for relevant structures. The structure block is removed afterward. This mode is the default mode when a structure block is first placed.
- Custom Data Tag Name
- The name of the function to run.
- Igloo
- "chest" - sets the loot table for a chest beneath the structure block to "chests/igloo_chest" and sets the loot table seed dependent on the world seed.
- End city
- "Chest" - Sets the loot table for a chest beneath the structure block to "chests/end_city_treasure" and sets the loot table seed dependent on the world seed.
- "Sentry" - Creates a shulker at the location of the structure block.
- "Elytra" - Creates an item frame entity with an elytra item inside it at the location of the structure block.
- Woodland mansion
- "ChestSouth" - Sets the loot table for a chest that replaces the structure block to "chests/woodland_mansion" and sets the loot table seed dependent on the world seed.
- "ChestNorth" - Sets the loot table for a chest that replaces the structure block to "chests/woodland_mansion" and sets the loot table seed dependent on the world seed.
- "ChestEast" - Sets the loot table for a chest that replaces the structure block to "chests/woodland_mansion" and sets the loot table seed dependent on the world seed.
- "ChestWest" - Sets the loot table for a chest that replaces the structure block to "chests/woodland_mansion" and sets the loot table seed dependent on the world seed.
- "Mage" - Creates an evoker at the location of the structure block.
- "Warrior" - Creates a vindicator at the location of the structure block.
- Ocean Ruin
- "chest" - Creates a chest at the location of the structure block, setting its loot table to either "chests/underwater_ruin_big" or "chests/underwater_ruin_small", with seed dependent on the world seed.
- "drowned" - Creates a drowned at the location of the structure block.
3D Export[edit]
3D Export mode[Bedrock Edition only], is similar to save mode, but the structure is saved as a 3D render rather than as an actual structure.[1] Therefore, structures saved this way can be viewed, but cannot be generated via load mode.
- Structure Name
- Enter the name of the structure. Case sensitive. The player must enter a file name in order to export.
- Relative Position
- Enter the X, Y, and Z values for the structure here, based on the position of the structure block. Sets the origin of the structure outline.
- Maximum allowed distance from the structure block is 64 blocks in any direction.
- Structure Size
- Enter the X, Y, and Z values to set the distance from the Relative Position coordinates. This sets the opposite corner of the structure, and defines its size.
- Maximum structure size is 64×256×64.
- Detect structure size and position
- Automatically calculates the size and position of the structure using a corner block placed on the opposite corner of the structure.
- The name of the structure in the save block must match the name within the corner block, or the size calculation fails.
- Include entities
- While saving the structure, saves any entities within the structure as well.
- Include players
- While saving the structure, saves any players within the structure as well.
Ender Dragon[edit]
Structure block cannot be destroyed by the ender dragon.
Sounds[edit]
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Breaking the block | block.stone.break | subtitles.block.generic.break | 1.0 | 0.8 | 16 | |
None[sound 1] | Blocks | Falling on the block with fall damage | block.stone.fall | None[sound 1] | 0.5 | 0.75 | 16 | |
Block breaking | Blocks | Mining the block | block.stone.hit | subtitles.block.generic.hit | 0.25 | 0.5 | 16 | |
Block placed | Blocks | Placing the block | block.stone.place | subtitles.block.generic.place | 1.0 | 0.8 | 16 | |
Footsteps | Blocks | Walking on the block | block.stone.step | subtitles.block.generic.footsteps | 0.15 | 1.0 | 16 |
Sound | Source | Description | Namespaced ID | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Breaking the block | dig.stone | 1.0 | 0.8 | |
Blocks | Falling on the block with fall damage | fall.stone | 0.4 | 1.0 | |
Blocks | Mining the block | hit.stone | 0.37 | 0.5 | |
? | Blocks | Jumping from the block | jump.stone | 0.12 | 1.0 |
? | Blocks | Falling on the block without fall damage | land.stone | 0.22 | 1.0 |
Blocks | Walking on the block | step.stone | 0.3 | 1.0 | |
Blocks | Placing the block | use.stone | 1.0 | 0.8 |
Data values[edit]
ID[edit]
Name | Namespaced ID | Block tags (JE) | Form | Translation key |
---|---|---|---|---|
Structure Block | structure_block | dragon_immune wither_immune | Block & Item | block.minecraft.structure_block |
Name | Namespaced ID |
---|---|
Block entity | structure_block |
Name | Namespaced ID | Numeric ID | Form | Translation key |
---|---|---|---|---|
Structure Block | structure_block | 252 | Block & Item | tile.structure_block.name |
Name | Savegame ID |
---|---|
Block entity | StructureBlock |
Metadata[edit]
In Bedrock Edition, structure blocks uses the following data values:
DV | Description | |
---|---|---|
0 | Data | |
1 | Save | |
2 | Load | |
3 | Corner | |
4 | Invalid | |
5 | Export |
Block states[edit]
Export Structure Block
Name | Default value | Allowed values | Description |
---|---|---|---|
mode | data
| corner | Corner Structure Block |
data | Data Structure Block | ||
load | Load Structure Block | ||
save | Save Structure Block |
Name | Default value | Allowed values | Description |
---|---|---|---|
mode | data
| corner | Corner Structure Block |
data | Data Structure Block | ||
export | Export Structure Block | ||
invalid | Inventory Structure Block | ||
load | Load Structure Block | ||
save | Save Structure Block |
Block data[edit]
A structure block also has a block entity associated with it.
- Block entity data
- Tags common to all block entities see Template:Nbt inherit/blockentity/template
- author: Author of the structure; only set to "?" for most vanilla structures.
- ignoreEntities: 1 or 0 (true/false): Whether entities should be ignored in the structure.
- integrity: How complete the structure is that gets placed.
- metadata: Value of the data structure block field.
- mirror: How the structure is mirrored, one of "NONE", "LEFT_RIGHT" (mirrored over X axis when not rotated), or "FRONT_BACK" (mirrored over Z axis when not rotated).
- mode: The current mode of this structure block, one of "SAVE", "LOAD", "CORNER", or "DATA".
- name: Name of the structure.
- posX: X-position of the structure.
- posY: Y-position of the structure.
- posZ: Z-position of the structure.
- powered: 1 or 0 (true/false): Whether this structure block is being powered by redstone.
- rotation: Rotation of the structure, one of "NONE", "CLOCKWISE_90", "CLOCKWISE_180", or "COUNTERCLOCKWISE_90".
- seed: The seed to use for the structure integrity, 0 means random.
- showboundingbox: 1 or 0 (true/false): Whether to show the structure's bounding box to players in creative mode.
- sizeX: X-size of the structure, its length.
- sizeY: Y-size of the structure, its height.
- sizeZ: Z-size of the structure, its depth.
Video[edit]
(Advanced)
History[edit]
Java Edition | |||||
---|---|---|---|---|---|
1.9 | March 18, 2015 | Searge tweets an image of a then-mysterious dark block. | |||
April 08, 2015 | Searge tweets a cryptic message containing another screenshot of the mysterious dark block. | ||||
He later asks if players would like an unobtainable block whose effects to the world are "visible and exciting."[2] | |||||
April 14, 2015 | Searge tweets another cryptic image, with the dark block visible in the hotbar and in the upper-right corner. | ||||
Bright dots cover a mysterious floating structure in the upper-left corner, which Searge "clarified" in a later tweet.[3] | |||||
June 24, 2015 | Searge explains that the mysterious block is a technical block used internally for world generation. | ||||
July 5, 2015 | The usage of structure blocks was detailed in a live stream during MINECON 2015. | ||||
15w31a | ![]() ![]() ![]() ![]() ![]() | ||||
Structure blocks are currently available only with the /setblock command. | |||||
Structure blocks currently do not have an interface and are used only internally by the developers. | |||||
1.10 | May 3, 2016 | Jens Bergensten tweets a screenshot of the new structure block textures. | |||
Jeb was instructed to make structure blocks "feel mysterious."[4] | |||||
May 13, 2016 | ProfMobius tweets an image of the new structure blocks in action, generating what appears to be a fossil made of quartz blocks. | ||||
16w20a | ![]() ![]() ![]() ![]() ![]() | ||||
Structure blocks are now obtainable using /give command and usable in-game. | |||||
16w21a | Structure blocks no longer emit light (was previously light-level 15). | ||||
"Structure Integrity and Seed" to load mode have been added to structure blocks. | |||||
1.11 | 16w32a | The block entity ID has been changed from Structure to structure_block . | |||
1.13 | 17w47a | Prior to The Flattening, this block's numeral ID was 255. | |||
The saved structures of structure blocks are now stored in <World Name>/generated/<namespace>/structures/<name>.nbt . | |||||
Due to The Flattening, structures saved before this version are now broken and don't load in any blocks who's previous ID is not a valid ID in current versions, such as planks . | |||||
1.16 | 20w16a | The maximum size per axis of structure blocks has been increased from 32 to 48. | |||
Upcoming Java Edition | |||||
1.17 | 20w46a | Default mode of structure blocks is now "Load". "Data" is now hidden by default. | |||
"Data" can be accessed by clicking the mode button while holding the Alt key. | |||||
Pocket Edition | |||||
1.0.0 | alpha 0.17.0.1 | "Added" structure blocks. While fully implemented, they have no assigned block ID and are completely unobtainable. | |||
Bedrock Edition | |||||
1.2.0 | beta 1.2.0.2 | ![]() ![]() ![]() ![]() ![]() /give and /setblock .
| |||
![]() | |||||
1.5.0 | beta 1.5.0.0 | Structure blocks can now be obtained in iOS and Android, but cannot be used yet. | |||
1.9.0 | beta 1.9.0.0 | The option to export using Remix3D has been removed from structure blocks. Instead, structures now export locally. | |||
1.13.0 | beta 1.13.0.1 | Structure blocks are now usable, with save and load mode available only through Experimental Gameplay. | |||
1.16.0 | beta 1.15.0.51 | A detect button for save mode has been added to structure blocks. | |||
beta 1.16.0.57 | Structure block functionality with save and load mode are now available outside of Experimental Gameplay. |
Issues[edit]
Issues relating to "Structure Block" are maintained on the bug tracker. Report issues there.
Gallery[edit]
The first image of the then-mysterious structure block, as posted by Michael Stoyke.
Highlighting of the end city structures
Comparison of Java Edition 1.9 and Java Edition 1.10 blank structure block textures.
Selecting a tree on an island using Save and Corner structure blocks.
Preparing to load the saved tree structure into an empty sunflower plains.