Template:BlockTileEntity
| “ |
|
„ | |
| — Searge on structure blocks[1] |
Structure blocks are blocks that are used to manually generate structures. They can also be used to save and load structures, alongside structure void blocks.
Obtaining
Structure blocks and structure voids are only available using the /setblock, /fill, or /give commands. Structure blocks when placed are unbreakable in survival and have the same blast resistance as bedrock. This is like a similar block, the command block.
Usage
When placed, use the structure block to open the structure block GUI. The GUI will only open if the player is in Creative mode, and has the proper permissions. Once a structure is named, its name will be displayed above the structure block when highlighted, preceded by the block mode (e.g. "Save:House").
Before being placed, the structure block uses a "blank" texture in the inventory, a texture which is not used when on a placed block.
A piston cannot move a structure block, but can move a structure void.
Structures saved only to memory have a higher priority than structures of the same name which were saved to disk. In order to remove a structure from active memory, players needs to quit and reload their current game.
Switching between modes preserves the settings of the structure block wherever possible.
Save
Save Mode GUI
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 and special characters are not allowed. Underscores are allowed.
- 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 32 blocks in any direction.
- Show invisible blocks
- 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 32×32×32.
- When successful, generates a white outline surrounding the structure.
- 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 size calculation will fail.
- 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 will be the name of the file.
- This process may also be automated with the use of redstone, but saves triggered by redstone are saved only to memory, not to disk.
- Structures in 1.13 are saved in
.minecraft/saves/(WorldName)/generated/minecraft/structures. - Structures created in versions before 1.13 are saved in
.minecraft/saves/(WorldName)/structures.
Load
Load Mode GUI
Load mode[Java Edition only] allows the player to load and rotate saved structure files.
- Structure Name
- The path and name of the structure file to load from.
- Name is case sensitive; it must match exactly with the name of the saved structure.
- This may be a file found in the
/data/minecraft/structures/<folder_name>folders in minecraft.jar. To load from a folder, simply type<folder_name>/<structure_name>. The following folders exist:
- 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, as long as the coordinates are within -32 and 32.
- 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 will 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).
- Load
- 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
Corner Mode GUI
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 will appear.
- 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
Data Mode GUI
Data mode[Java Edition only] can only be used during natural generation. They mark the location to run a function specified by its metadata input, which can only be used for relevant structures. The structure block is removed afterwards. 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.
3D Export
Export Mode GUI
3D Export mode[Bedrock Edition only] is a mode where structures can be exported locally.
- Structure Name
- The name of the structure is entered into this text box. Case sensitive.
- 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 32 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 32×32×32.
- 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 size calculation will fail.
- 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.
Structure void
The difference between air (left) and structure void (right) when "show invisible blocks" is enabled.
Structure void[Java Edition only] can be placed as part of a structure and are ignored when the structure file is saved.
- This results in the blocks at the location where the structure is placed being maintained and not being overriden. For example, if players save a 2 block high structure with air at the top and a structure void at the bottom, and load it into a 2 block high area of stone, the top block will become air but the bottom will stay stone.
- Structure void blocks have no collision box but have a small hitbox. Additionally, they are invisible, but are displayed as red cubes when "Show invisible blocks" is turned on in Save mode. As there is no collision box, entities can pass through, although liquids will not.
- Blocks can replace structure voids as they would do with snow layers or grass.
Data values
Entity data
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
| 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 | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
|---|---|---|---|---|---|
| structure_block_type | 0x10x20x4 | data
| corner | 3 | Corner Structure Block |
data | 0 | Data Structure Block | |||
export | 5 | Export Structure Block | |||
invalid | 4 | Inventory Structure Block | |||
load | 2 | Load Structure Block | |||
save | 1 | Save Structure Block |
Block entity
A structure block also has a block entity associated with it.
- Block entity data
- Tags common to all block entities
- 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
- Note: These videos are made using Education Edition.
(Advanced)
History
| 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 will be 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 | File:Structure Block Revision 1.pngFile:Structure Block Save Revision 1.pngFile:Structure Block Load Revision 1.pngFile:Structure Block Corner Revision 1.pngFile:Structure Block Data Revision 1.png Added structure blocks, which were only available with the /setblock command.
| ||||
| Structure blocks had no interface at the time, and were only used internally by the developers. | |||||
| 1.10 | May 3, 2016 | Jens Bergensten tweets a screenshot of the new structure block textures. | |||
| He 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 | /give command and usable in-game, and have new textures.
| ||||
| Added structure void. Originally developers used barrier blocks for its purpose. | |||||
| 16w21a | Structure blocks will no longer emit light (was previously light-level 15). | ||||
| Added "Structure Integrity and Seed" to load mode. | |||||
| pre1 | Structure voids are now no longer indestructible. | ||||
| Structure void blast resistance reduced to 0 (was 18,000,003). | |||||
| 1.11 | 16w32a | The block entity ID is changed from Structure to structure_block. | |||
| 1.13 | 17w47a | Prior to The Flattening, the structure void and structure block's numeral ID were 217 and 255 respectively. | |||
Saved structures are now stored in in .minecraft/saves/(WorldName)/generated/minecraft/structures. | |||||
| 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. | |||
| "Added" structure void. Similarly to structure blocks, they have no assigned block ID and cannot be obtained in-game. | |||||
| Bedrock Edition | |||||
| 1.2.0 | beta 1.2.0.2 | Structure blocks now have a block ID and can be obtained with /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 | Structure blocks can now be used in Xbox One. | |||
| Removed the option to export using Remix3D, instead structures now exports locally. | |||||
Issues
Issues relating to "Structure Block" are maintained on the bug tracker. Report issues there.
Gallery
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.















