Failed to find meaning in object assignment.
sustained opened this issue ยท 5 comments
My script looks like this:
biomes = forAllBiomesExcept("minecraft:plains")
vanilla = (biomes, 0-39)
vanilla.registerGenBiomeRep("minecraft:plains")
plains = forBiomes("minecraft:plains")
plains.addToGeneration("WARM", 2000)
plains.addToGeneration("COOL", 2000)
plains.addToGeneration("DESERT", 2000)
plains.addToGeneration("ICY", 2000)
This is the error:
[13:09:38] [Client thread/ERROR] [SuperScript]: Failed to find meaning in object assignment vanilla = (biomes, 0-39) @ ScriptContext(scriptName=DisableVanillaBiomesForTesting.cfg, lineNumber=2). Reason: No matching objects or registrations found.
I am pretty sure I'm doing this right:
The range should work, should it not? That's what the docs say.
0-39
are all valid biome IDs...
If two lines of code...
biomes = forAllBiomesExcept("minecraft:plains")
vanilla = (biomes, 0-39)
...cause it to blow up then clealy there's a problem, wouldn't you say?. It's literally comprised of two examples from the docs.
I'll try without but I don't see why this wouldn't work... hence the issue.
I'm asking you to test if it is the range that is the issue, and not something else. There is no way to tell what is causing the issue from what you posted, only that there is an issue.
Have you tried it without the numeric range? Please at least make an attempt to find the source of the issue before posting an issue.