Minecraft Wiki
Advertisement

Jigsaw blocks are technical blocks used in the generation of some structures.

Obtaining[]

Jigsaw blocks do not generate naturally and are not available in the creative inventory. They can be only obtained by using the pick block control, or by using various commands such as /give @s jigsaw.

Jigsaw blocks are included when a player uses a structure block to spawn certain structures that use jigsaw blocks for generation.

Natural generation[]

Jigsaw blocks do not naturally generate. Some structures rely on jigsaw blocks for generation (pillager outposts, villages and ancient cities), but these jigsaw blocks are replaced by other blocks during generation.

Usage[]

Jigsaw blocks are function blocks that allow the game to construct structures out of smaller templates.[1]

The GUI for jigsaw blocks contains the following input fields:

  • Target pool
    • Refers to a pool of elements the jigsaw block can draw elements from (the next template to place).
    • You can define custom target pools in data packs at DataPack/data/namespace/worldgen/template_pool.
  • Name
    • Name of the jigsaw block.
    • Defaults to minecraft:empty.
  • Target name
    • What the jigsaw is to connect to when structure is generated from Target Pool.
    • Defaults to minecraft:empty.
  • Turns into
    • What the jigsaw block turns into once the whole feature is generated.
    • Defaults to minecraft:air.
  • Joint type
    • Appears only when jigsaw block is placed facing up or down.
    • Contains two types of joints: Rollable and Aligned
      • Rollable: When generated, the jigsaw block randomly places the targeted structure or entity within the boundary of the structure block on the same XZ axis the jigsaw block is facing. Defaults to this.
      • Aligned: When generated, the jigsaw block places the targeted structure or entity directly on top of or below the jigsaw block depending on which way it faces. Useful for connecting structures or non-moving entities.
  • Levels
    • Determines how many jigsaw block "levels" it goes through when the "Generate" button is used (ex. Piece>[Layer 1]>[Layer 2]).
    • Can be set to an integer from 0 to 20. Defaults to 0.
  • Keep Jigsaw
    • Determines if the next structure includes the jigsaw blocks it contains or become what its "Turns into" field is set to.
    • Defaults to ON
  • Generate
    • Can be used to generate next structure pieces with the jigsaw block.
    • Uses parameters set in levels to generate the next parts of the structure.

Jigsaw blocks are used only in the generation of pillager outposts, villages, bastion remnants, ruined portals, and ancient cities; other structures use hardcoded generation. The generation of these structures begins with a template containing jigsaw blocks. Each jigsaw block then uses the following process to generate another template:

  1. Choose a random template from the target pool. This template contains at least one jigsaw block with the same attachment type as the block used to generate the template.
  2. If there are multiple such blocks, choose one at random. This gives two jigsaw blocks to be "attached".
  3. The template is placed so that the second jigsaw block is facing and adjacent to the first.
  4. Finally, both jigsaw blocks are replaced with their respective "Turns into" block.

The above process is repeated for all jigsaw blocks in the initial template, as well as any jigsaw blocks in additional templates, until no jigsaw blocks remain (or until the game decides that the structure is large enough). The process does not, however, occur when the player uses a structure block; doing so results in a structure containing jigsaw blocks.

NOTE: For jigsaw blocks to attach reliably one of 2 things must occur:

  1. The jigsaw block must be at the edge of the structure so that the next structure generates entirely outside of the current boundaries of the current structure. This applies to both the target and the source jigsaw block.
  2. The attached structure must fit entirely within the boundaries of the current structure.

Piston interactivity[]

Jigsaw blocks cannot be pushed by pistons. They also cannot be pushed nor pulled by sticky pistons.

Sounds[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.stone.breaksubtitles.block.generic.break1.00.816
Block placedBlocksWhen the block is placedblock.stone.placesubtitles.block.generic.place1.00.816
Block breakingBlocksWhile the block is in the process of being brokenblock.stone.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.stone.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.stone.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.stone1.00.8-1.0
BlocksWhen the block is placeddig.stone1.00.8-1.0
BlocksWhile the block is in the process of being brokenhit.stone0.27 [sound 1]0.5
PlayersFalling on the block with fall damagefall.stone0.41.0
PlayersWalking on the blockstep.stone0.31.0
PlayersJumping from the blockjump.stone0.121.0
PlayersFalling on the block without fall damageland.stone0.221.0
  1. MCPE-169612 — Many blocks make very slightly different sounds to stone

Data values[]

ID[]

Java Edition:

NameIdentifierFormTranslation key
Jigsaw BlockjigsawBlock & Itemblock.minecraft.jigsaw
NameIdentifier
Block entityjigsaw

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1]Translation key
Jigsaw Blockjigsaw466Block & Giveable Item[i 2]Identical[i 3]tile.jigsaw.name
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Available with /give command.
  3. The block's direct item form has the same id as the block.
NameSavegame ID
Block entityJigsawBlock

Block states[]

See also: Block states

Java Edition:

Name Default value Allowed values Description
orientationnorth_updown_east
down_north
down_south
down_west
east_up
north_up
south_up
up_east
up_north
up_south
up_west
west_up
The direction the jigsaw block is facing.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
facing_directionNot Supported00
1
2
3
4
5
UnsupportedThe direction the jigsaw block is facing.
rotationNot Supported00
1
2
3
UnsupportedThe rotation around the axis.

Block data[]

A jigsaw block has a block entity associated with it that holds additional data about the block.

Java Edition:

  • Block entity data
    • Tags common to all block entities
    •  final_state: The block that this jigsaw block becomes.
    •  joint: The joint option value, either "rollable" or "aligned".
    •  name: The jigsaw block's name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the target tag.
    •  pool: The jigsaw block's target pool to select a structure from.
    •  target: The jigsaw block's target name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the name tag.

Bedrock Edition:

See Bedrock Edition level format/Block entity format.

Video[]

Video by slicedlime on how jigsaw blocks are used to generate villages:

History[]

Java Edition
1.1418w46a Jigsaw Block JE1 BE1 Added the jigsaw block. It has a GUI, however, they are useless for players at the moment and are only used during world generation (similar to Structure Blocks in data mode)
Jigsaw blocks use the missing texture particle when broken.
18w47aJigsaw blocks are now used in the generation of pillager outpost structures.
18w48aJigsaw blocks are now used in the generation of plains village structures.
18w49aJigsaw blocks are now used in the generation of snowy and savanna village structures.
18w50aJigsaw blocks are now used in the generation of taiga and desert village structures.
Jigsaw Block JE2 The texture of the jigsaw block has been changed.
1.1620w13aJigsaw Block (S) JE3 BE2 A locked texture to the jigsaw block has been added.
The interface of the jigsaw block has been changed.
20w16aA button in the GUI that generates a jigsaw structure starting from the jigsaw block, using a given generation depth has been added. This makes jigsaw blocks now usuable by players.
Jigsaw blocks are now used in the generation of bastion remnants.
20w22aA new "Keep Jigsaws" option that controls whether jigsaw blocks in the resulting structure after using "Generate" remain jigsaw blocks or be replaced by their "Turns Into" block, which defaults to "on" has been added.
1.19?Jigsaw blocks are now used in the generation of ancient city structures.
1.19.322w44aJigsaw blocks are now available in the creative inventory, but only if cheats are enabled.
22w45aMoved jigsaw blocks behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.
Bedrock Edition
1.10.0beta 1.10.0.3Jigsaw Block JE1 BE1 Added the jigsaw block.
The jigsaw block is currently available only by using inventory editors.
It is unknown whether jigsaw blocks are used for pillager outpost and new village generation or not.
1.16.0beta 1.16.0.57Jigsaw Block (S) JE3 BE2 The texture of the jigsaw block has been changed.
Jigsaw blocks are now functional in game.
Jigsaw blocks can now be obtained using the /give <player> jigsaw command.

Issues[]

Issues relating to "Jigsaw" or "Jigsaw block" are maintained on the bug tracker. Report issues there.

Gallery[]

Renders[]

Screenshots[]

Bedrock Edition[]

See also[]

References[]

Advertisement