New parsing is definitely messing up
keybounce opened this issue ยท 8 comments
Here's a "simple" config file
savannaMs = forBiomes(163, 164)
TF = forBiomes(40-58)
nether = forBiomesOfTypes("nether")
mesas = forBiomes(37-39, 165-167)
beaches = forBiomesOfTypes("BEACH")
rivers = forBiomesOfTypes("River")
mushroom=forBiomes(14)
plateauNonM = forBiomes(36, 38, 39)
unchanged = forBiomes(savannaMs, TF, nether, mesas)
sandyTops = forBiomes(beaches, rivers)
myceliumTops = forBiomes(mushroom)
hellify = forBiomes(plateauNonM)
sandAndClay = forBiomes(mesas)
yuckyTops = forAllBiomesExcept(unchanged, sandyTops, myceliumTops, hellify, sandAndClay)
yuckyTops.set("topBlock", "ganyssurface:coarse_dirt")
I've trimmed out everything not used. YuckyTops is getting coarse dirt, and it is excluding "sandAndClay"
Sand and clay is the mesas.
Mesas include 37
Mesa.json (all of them, actually) still have
"Top Block": "ganyssurface:coarse_dirt",
Tested with Biome Tweaker 68
Yeah, this is indeed a bug and I see why. Give me a bit to move some things around in the parser.
good (easy fix, I hope).
I was worried I'd have to go back to that older, messier config and try to patch it.
Try this build out:
I reworked it a bit more to be cleaner. The previous way created a new object for every parameter. Mind trying it out with your monstrous script?