Open Draylar opened 4 years ago
Note that element placement ranges are not designed to be used for contiguous elements - tho they do have that effect for non-branching structures. For example, there is no way to enforce a minimum. I'll have to think about it.
I will grant that it is annoying when Minecraft generates an obnoxiously tall or short tower, however.
I'm more concerned about the max than the minimum, but yeah.
I'm currently using
ElementRange
to limit the number of floors in my tower. If we say it has a total of 10 layers (the first of which is the entrance), I could set the limit of the layers to 8, which leaves the only possible last element as the roof.This works well until I want to add different variations of layers. I could set each one to a certain limit (eg. 2 variations, limit of 4 each), but I can't do this past 8 unique elements. What might be useful is a limit for a group of elements-- any element generated within this group is counted towards the limit, and anything past that won't be generated.
This would let me say, "limit of 8 between blacksmiths, libraries, and lavapools", so the middle of the tower would be comprised of a total of 8 between those 3 options randomly.