[1.12] Biome Tweaker is probably just f*cking with me
RohnekKdosi opened this issue ยท 1 comments
On a script that goes as follows:
- `Tweaker.setStage("BIOME_REGISTRY")
- Tweaker.createBiome("io", "advancedrocketry:moon")
- io = forBiomes("biometweaker:io")
- io.set("name", "Io")
- io.set("topBlock", "contenttweaker:sulfur_rich_turf")
- io.set("fillerBlock", "contenttweaker:sulfur_rich_turf")
- Tweaker.createBiome("europa", "minecraft:frozen_ocean")
- europa = forBiomes("biometweaker:europa")
- europa.set("name", "Europa")
- europa.set("topBlock", "minecraft:stone")
- europa.set("fillerBlock", "minecraft:stone")
- europa.set("oceanTopBlock", "minecraft:stone")
- europa.set("oceanFillerBlock", "minecraft:stone")
- blockRep = newBlockReplacement()
- ice = forBlock("minecraft:packed_ice")
- blockRep.set("block", ice)
- blockRep.set("minY", 120)
- europa.registerGenBlockRep("minecraft:water", blockRep)
- Tweaker.createBiome("mercury", "minecraft:plains")
- mercury = forBiomes("biometweaker:mercury")
- mercury.set("name", "Mercury")
- mercury.set("topBlock", "contenttweaker:mercury_rock")
- mercury.set("fillerBlock", "contenttweaker:mercury_rock")
- mercury.set("oceanTopBlock", "contenttweaker:mercury_rock")
- mercury.set("oceanFillerBlock", "contenttweaker:mercury_rock")
- Tweaker.createBiome("venus", "minecraft:plains")
- venus = forBiomes("biometweaker:venus")
- venus.set("name", "Venus")
- venus.set("topBlock", "contenttweaker:sulfur_rich_turf")
- venus.set("fillerBlock", "contenttweaker:sulfur_rich_turf")
- venus.registerGenBlockRep("minecraft:water", "minecraft:lava")
- Tweaker.createBiome("phobos", "advancedrocketry:moon")
- phobos = forBiomes("biometweaker:phobos")
- phobos.set("name", "Phobos")
- phobos.set("topBlock", "contenttweaker:phobos_regolith")
- phobos.set("fillerBlock", "contenttweaker:phobos_regolith")
- phobos.set("fillerBlock", "contenttweaker:phobos_regolith")
- biomes = forAllBiomes()
- biomes.set("enableRain", false)
- biomes.set("genInitialSnow",false)
- biomes.removeAllSpawns("CREATURE")
- biomes.removeAllSpawns("MONSTER")
- biomes.removeAllSpawns("AMBIENT")
- biomes.removeAllSpawns("WATER_CREATURE")
- biomes.removeDecoration("GRASS")
- biomes.removeDecoration("PUMPKIN")
- biomes.removeDecoration("REED")
- biomes.removeDecoration("CACTUS")
- biomes.removeDecoration("DEAD_BUSH")
- biomes.removeDecoration("BIG_SHROOM")
- biomes.removeDecoration("LILYPAD")
- biomes.removeDecoration("FLOWERS")
- biomes.removeDecoration("SHROOM")
- biomes.removeDecoration("LAKE_WATER")
- plainsBiomes = forBiomesOfTypes("FOREST","MOUNTAIN","JUNGLE","MUSHROOM","OCEAN","WATER","PLAINS","SAVANNA","WET")
- plainsBiomes.set("topBlock", "minecraft:dirt")
- Tweaker.set("minecraft:ice_flats", "topBlock", "minecraft:dirt")
- Tweaker.set("minecraft:extreme_hills", "topBlock", "minecraft:dirt")
- biomes = subtractFrom(biomes, io)
- biomes = subtractFrom(biomes, europa)
- biomes = subtractFrom(biomes, mercury)
- biomes = subtractFrom(biomes, venus)
- biomes = subtractFrom(biomes, phobos)
- biomes.registerGenBlockRep("minecraft:water", "minecraft:air")
- Tweaker.setPlacementStage("POST_POPULATE")
- biomes.registerGenBlockRep("minecraft:water", "minecraft:air")
- biomes.registerGenBlockRep("minecraft:waterlily", "minecraft:air")
- biomes.registerGenBlockRep("minecraft:leaves", "minecraft:air")
- biomes.registerGenBlockRep("minecraft:leaves2", "minecraft:air")
- mercury.removeDecoration("TREE")
- venus.removeDecoration("TREE")
- phobos.removeDecoration("TREE")
- mercury.registerGenBlockRep("minecraft:dirt", "contenttweaker:mercury_rock")
- venus.registerGenBlockRep("minecraft:dirt", "contenttweaker:sulfur_rich_turf")
- phobos.registerGenBlockRep("minecraft:dirt", "contenttweaker:phobos_regolith")`
The Venus biome has the top block set as Phobos Regolith. I should probably note that these custom biomes are used in conjunction with Advanced Rocketry, WGBlock Replacer (to fix whatever this mod refuses to do, because f*ck me, I guess) and Content Tweaker.
Anyway, I'm off to get some rest, because I spent way too long trying to FITFO. I managed to isolate the problem to the line
phobos.registerGenBlockRep("minecraft:dirt", "contenttweaker:phobos_regolith")
without which the top block is just dirt.
Why does it do it? No f*cking idea. I hope I gave all the information needed.