From 125f705a6a364dcec92e6412e5a5ba95c394ea23 Mon Sep 17 00:00:00 2001 From: Daniel Mills Date: Sun, 10 Jan 2021 08:56:52 -0500 Subject: [PATCH] Autoterminate --- .../java/com/volmit/iris/object/IrisJigsawStructure.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/volmit/iris/object/IrisJigsawStructure.java b/src/main/java/com/volmit/iris/object/IrisJigsawStructure.java index be0c834c1..d17e30e84 100644 --- a/src/main/java/com/volmit/iris/object/IrisJigsawStructure.java +++ b/src/main/java/com/volmit/iris/object/IrisJigsawStructure.java @@ -1,5 +1,6 @@ package com.volmit.iris.object; +import com.volmit.iris.scaffold.cache.AtomicCache; import com.volmit.iris.util.*; import lombok.AllArgsConstructor; import lombok.Data; @@ -27,5 +28,11 @@ public class IrisJigsawStructure extends IrisRegistrant @MinNumber(1) @DontObfuscate @Desc("The maximum pieces that can step out from the center piece") - private int maxDepth = 9; + private int maxDepth = 9; + + @DontObfuscate + @Desc("If set to true, iris will look for any pieces with only one connector in valid pools for edge connectors and attach them to 'terminate' the paths/piece connectors. Essentially it caps off ends. For example in a village, Iris would add houses to the ends of roads where possible. For terminators to be selected, they can only have one connector or they wont be chosen.") + private boolean terminate = true; + + private AtomicCache maxDimension = new AtomicCache<>(); }