Autoterminate

This commit is contained in:
Daniel Mills 2021-01-10 08:56:52 -05:00
parent 3884af64a7
commit 125f705a6a

View File

@ -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<Integer> maxDimension = new AtomicCache<>();
}