#Cannot Specify Vein Biomes

12 messages · Page 1 of 1 (latest)

night crag
#

So, i've managed to make ores spawn in #minecraft:isoverworld, but whenever i set vein.biomes() as anything else, it doesnt seem to work even if I set a ridiculously high weight. I'm unsure if this is a bug where it doesn't work

    event.add("bee:sulfur_brimstone", vein => {
        vein.weight(640000)
        vein.clusterSize(40)
        vein.density(0.25)
        vein.discardChanceOnAirExposure(0)
        vein.layer("bee_volcanic")
        vein.dimensions("minecraft:overworld")
        vein.biomes(
            "biomesoplenty:volcano",
            "biomesoplenty:volcanic_plains",
            "biomesoplenty:erupting_inferno",
            "terralith:volcanic_crater",
            "terralith:volcanic_peaks",
            "terralith:ashen_savanna",
            "terralith:yellowstone",
            "terralith:cave/mantle_caves",
            "terralith:cave/tuff_caves",
            "wythers:volcano",
            "wythers:volcanic_crater",
            "wythers:volcanic_chamber",
            "wythers:savanna_basaltic_incursions"
        )
        vein.heightRangeUniform(-60, 640)
        vein.layeredVeinGenerator(generator => generator
            .buildLayerPattern(pattern => pattern
            .layer(l => l.weight(3).mat(GTMaterials.Sulfur).size(2, 4))
            .layer(l => l.weight(2).mat(GTMaterials.Pyrite).size(1, 1))
            .layer(l => l.weight(1).block(() => Block.getBlock('biomesoplenty:brimstone')).size(1, 1))
            )
        )
    })```
#

I do wonder/suspect some relation between this, the "ServerEvents.tags('biome'..." typo in the docs and the biome weight bug

#

when using the wiki's suggested format of

    event.add('namespace:tag', 'biomesoplenty:volcano')
})``` and providing said tag for vein biomes, worlds cannot be joined, kicking you to the server screen, similar to attempting to weight biomes. however it doesn't throw a null pointer like that one, so maybe not related
#
java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to get element bee:brimstone_ore; Not a JSON object: "bee:brimstone_ore"``` is the error given in the log instead, presumably because the tag script is missing the "worldgen/"
#

oh

#

this is new

night crag
#

changing it to ```GTCEuServerEvents.oreVeins(event => {
event.add("bee:sulfur_brimstone", vein => {
vein.weight(640000)
vein.clusterSize(40)
vein.density(0.25)
vein.discardChanceOnAirExposure(0)
vein.layer("bee_volcanic")
vein.dimensions("minecraft:overworld")
vein.biomes(
"minecraft:ocean",
"biomesoplenty:volcano",
"biomesoplenty:volcanic_plains",
"biomesoplenty:erupting_inferno",
"terralith:volcanic_crater",
"terralith:volcanic_peaks",
"terralith:ashen_savanna",
"terralith:yellowstone",
"terralith:cave/mantle_caves",
"terralith:cave/tuff_caves",
"wythers:volcano",
"wythers:volcanic_crater",
"wythers:volcanic_chamber",
"wythers:savanna_basaltic_incursions"
)
vein.heightRangeUniform(-60, 640)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(pattern => pattern
.layer(l => l.weight(3).mat(GTMaterials.Sulfur).size(2, 4))
.layer(l => l.weight(2).mat(GTMaterials.Pyrite).size(1, 1))
.layer(l => l.weight(1).block(() => Block.getBlock('biomesoplenty:brimstone')).size(1, 1))
)
)
})

#

(adding minecraft:ocean)

#

im not sure what's going on but it seems to not like modded biomes, i think

#

im gonna see if it works on purely vanilla and if so, figure out which biome mods it doesnt like, i guess

night crag
#

vein.biomes("#forge:is_cold") appears not to work, either

night crag
#

opened issue on github, as it seems to be a bug. should i close this one?