Reference.TEMPLATE_POOL: JigsawOverrides.startPool names one of the platform's template pools

Studio completes the pool again from the platform's registered template pools, as the Iris class's native jigsaw
pool annotation did. A pack's own jigsaw pools are not valid here: the override replaces the start pool of a vanilla,
datapack or modded jigsaw structure.
This commit is contained in:
piexel committed 2026-10-10 08:05:00 +02:00
1 parent 6f52a20b25
commit 6757cbdd0f
3 files changed
+6 -1

No files matched your search

@@ -21,6 +21,8 @@ public enum Reference {
STRUCTURE_PREFIX,
/** A platform structure set, such as {@code minecraft:villages}. */
STRUCTURE_SET,
/** A platform jigsaw template pool, such as {@code minecraft:village/plains/town_centers}. */
TEMPLATE_POOL,
/** A potion effect type, such as {@code minecraft:speed}. */
POTION_EFFECT,
/** An enchantment, such as {@code minecraft:sharpness}. */
@@ -1,6 +1,8 @@
package com.volmit.vanilla;
import com.volmit.config.Desc;
import com.volmit.config.Ref;
import com.volmit.config.Reference;
import com.volmit.config.MaxNumber;
import com.volmit.config.MinNumber;
import java.util.Objects;
@@ -50,6 +52,7 @@ public final class JigsawOverrides {
}
@Desc("Optional registered template-pool key used instead of the source jigsaw's start pool. Empty preserves the source pool.")
@Ref(Reference.TEMPLATE_POOL)
private String startPool = "";
@Desc("Optional start connector name. Empty preserves the source value; the literal NONE removes the source constraint.")