How to Use Jigsaw Blocks to Make Custom Randomly Generated Structures in Java Minecraft 1.21.8
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
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.