How to Use Jigsaw Blocks to Make Custom Randomly Generated Structures in Java Minecraft 1.21.8

Channel:
Subscribers:
4,950
Published on ● Video Link: https://www.youtube.com/watch?v=5IDJEEDEQNs



Minecraft
Game:
Minecraft (2011)
Duration: 0:00
3,426 views
183


Roguelike dungeons, randomly generated houses, villages, jigsaw blocks are a powerful, underutilized building tool. This tutorial will teach you how to use this little-known block along with its template pool counterpart to generate custom random structures!


0:00 How To Jigsaw

00:13 Step 1: Rooms
Pattern for naming rooms is NAMESPACE:ROOM_NAME but only with lowercase letters, underscores, numbers, and minus signs (no caps or spaces)
For servers or sharing your datapack, you can move structure files from your world/generated/structures/NAMESPACE folder to datapacks/DATAPACK_NAME/data/NAMESPACE/structure folder
You can place saved structures with the command: /place template NAMESPACE:ROOM_NAME

02:19 Step 2: Connectors
Entry points go in the Name box
Exit points go in the Target Name box
Generation flows through a room from the entry point to the exit point(s)
Exit points then need a list of possible rooms (template pool) to match their connector name to a new room's entry point connector name

05:10 Step 3: Template Pool
Java Template Datapack: https://www.planetminecraft.com/data-pack/how-to-jigsaw-template-datapack/
Bedrock Tutorial for Behavior Pack (NOT MY CHANNEL):    • Creator Camp Tutorial - 5. Worldgen: Jigsa...  

Fun Fact: You can set one of the rooms to be empty by setting "element_type" to "minecraft:empty_pool_element" and removing the other options (not including weight)
Fun Fact #2: Fallback pools are just regular template pool files that get spawned when the dungeon branch runs out of generation steps (try it out!)
Examples of in-game template pool files: https://github.com/misode/mcmeta/tree/1.21.8-data/data/minecraft/worldgen/template_pool

09:16 Step 4: "Turns Into" and Priority
"Turns Into" can use block states like waterlogged! (check F3 screen on the right to see block states)
Selection Priority is per-room and goes from highest to lowest (ties are determined randomly)
Placement (Branch) Priority prioritizes the entire branch coming from a single jigsaw block
Selection Priority finishes before Placement Priority begins, which is why there was one red room and yellow room before the orange branch took over everything

11:02 Step 5: Generate!
Generate command: /place jigsaw NAMESPACE:anchor ANCHOR_ENTRY_POINT 7 ~ ~ ~
Jigsaw blocks must mirror the start point of the dungeon so they can connect by facing each other
Larger Levels numbers may lag the game more, so give it a second to load everything
Generation seeds are chunk-based, so if you don't like the way your dungeon generated, move to a new chunk!


Advanced Jigsaw Generation Control Tutorial:    • Jigsaw Generation Control - Advanced Jigsa...  
Naturally Spawn Jigsaw in World Tutorial:    • How to Naturally Spawn Your Custom Dungeon...  

Old Jigsaw Tutorial (1.16):    • How to Use Jigsaw Blocks to Make Custom Ra...  


Talon's Oasis Discord Link: https://discord.gg/EpSp45fYer


Chapters:
0:00 How To Jigsaw
00:13 Step 1: Rooms
02:19 Step 2: Connectors
05:10 Step 3: Template Pool
09:16 Step 4: "Turns Into" and Priority
11:02 Step 5: Generate!

Not an official Minecraft product. Not approved by or associated with Mojang.

#JigsawBlock #MinecraftCustomDungeon #Talon2863




Other Videos By Talon


6 days agoThe Ugly Horizon - Talon's Oasis - Ep 184
2025-10-03Command Block Survival - Making "Managing Mannequins" - Ep 183
2025-09-19Autocrafting Improvement - Command Block Survival - Ep 182
2025-09-12Command Block Survival - Learning Chunkloaders for 1.21.9 - Ep 181
2025-09-05How To Make And Use Dialogs To Get User Input in Java Minecraft 1.21.8
2025-08-22How to Use Jigsaw Blocks to Make Custom Randomly Generated Structures in Java Minecraft 1.21.8
2025-08-15Upgrading The Swap Zoo! - Command Block Survival - Ep 180
2025-08-08Command Block Survival - Just A Little Too Much - Ep 179
2025-07-31Command Block Survival - I'm Drowning In Chest Lag! - Ep 178
2025-07-25Build With Particles Easily! - Minecraft Datapack
2025-07-18Command Block Survival - Creating A Particle Datapack For Builders! - Ep 177
2025-07-04Command Block Survival - Decorating With Command Blocks - Ep 176
2025-06-27Command Block Survival - Adding 4 Unused Mobs Into The Game - Ep 175
2025-06-20Command Block Survival - Who's Faster: Happy Ghast or Hen-R.e? - Ep 174
2025-06-06Command Block Survival - Experimenting With 1.21.6 - Ep 173
2025-05-30Command Block Survival - Central Basin Spaghetti - Ep 172
2025-05-23Command Block Survival - We Need A Shrubbery! - Ep 171
2025-05-17Command Block Survival - Placing Blocks Without Placing Blocks - Ep 170
2025-05-09Command Block Survival - Endermen: Foe or Friend? - Ep 169
2025-04-25Command Block Survival - Custom Weapons And Parrying?! - Ep 168
2025-04-18Command Block Survival - The Structure Manifest - Ep 167



Other Statistics

Minecraft Statistics For Talon

Talon presently has 465,082 views for Minecraft across 183 videos, with the game making up over 3 days of published video on his channel. This is 61.38% of the total watchable video for Minecraft on Talon's YouTube channel.