Comments (27)
Sorry, apparently I missed the email for the creation of this issue. I'll let you know what I figure out in a bit.
from biometweaker.
No worries I have the patience of a saint. But yeah it is strange this kept happening.
from biometweaker.
So, some biomes are actually hardcoded into vanilla generation (jungle, taiga, river, ocean, and more), and there is no explicit way to remove them. However, awhile back I identified a slightly hacky way of replacing biomes at generation time, but I've been holding off on adding it. Since this sort of thing seems to be such a common request, I'll go ahead and add it.
I'll let you know once I have.
from biometweaker.
All right, I've added a new command in build 129:
http://jenkins.superckl.me/job/BiomeTweaker/129/
With this, you could put this in your script
jungle.registerGenBiomeRep(165)
and the jungle biome will be replaced by whatever biome has id 165. This replacement occurs very, very early in generation, right after the stone maps are created. This means that tree, topblocks, lakes, etc. will appear correctly, but the root height and variation will be off. To fix this, you must set the heights of the biome you are replacing to the one you are replacing with, e.g.
jungle.registerGenBiomeRep(165)
jungle.set("height", 0.5)
jungle.set("heightVariation", 0.2)
With this in your script, all jungle that is hard-coded will be replaced by Mesa (Bryce), and you shouldn't even be able to tell the replacement occurred. Let me know how it works out for you.
from biometweaker.
Ohh excellent let me apply this update and see what happens. Heck man I even tried tricking 1.7 worldgen itself. Set jungle to -2 and all it's sub-biomes to -2 temps and even their dictionary assignments to COLD. Removed DENSE, JUNGLE, HOT etc etc from them. They still appeared right next to a hot biome. It was hilarious to see a snowy jungle xD
from biometweaker.
Your Jenkins is asking for a password so I cannot test this presently.
from biometweaker.
Oh, sorry. The whole thing got corrupted so I had to set it up again. You should be able to see the jobs now.
from biometweaker.
Ah no worries there, testing is now in progress!
from biometweaker.
Congratulations my good man. You just did something absolutely amazing!
https://imgur.com/a/Y8KGC
1st image shows a jungle temple
2nd is a wastelands biome from Biomes'OP replacing a Jungle edge biome! WEEEEE!
from biometweaker.
YEEEEEES! I LOVE THIS!
Wasteland replacing a River biome!
https://imgur.com/a/lKdZL
from biometweaker.
Honestly this feature is simply genius! it makes designing custom biomes so easy now!
from biometweaker.
Glad to hear it! I'll close this issue when the feature is included in an official release.
from biometweaker.
Just an update: I'm going to be releasing this with version 3.0. As the version suggests, it's going to contain pretty significant internal changes, and will need lots of testing.
I'm basically ripping out the guts of BT (the scripting environment) into a separate API, making it really easy for other mods to add compatibility. I'd love if you'd be willing to help test when the time comes.
from biometweaker.
Has topBlockMeta been fixed yet? I was hoping to do a desert biome. but with red sand instead of normal sand.
from biometweaker.
Is it broken? on v2.0.154 I ran the command
desert.set("topBlockMeta", 1)
In a script by itself, and along with the desert world example script, both inside and outside of a development environment. All four cases yielded a fully functionally red sand desert.
from biometweaker.
Hmm let me check that. because when I did it. The desert was not generating with red sand.
from biometweaker.
Just tested with that exact script. topBlockMeta is still broken
https://imgur.com/a/QcUBc
I altered the script to only include features I needed
http://pastebin.com/CSssHhWx
Also there is a very weird issue presenting itself. desert biome will generate normally. However it produces random chunks of mesa. Then immediately returns to generating desert.
This is important to note however. This happened "before" I changed the script to use Mesa Plateau as the hills biome. This has been a very consistent issue through all versions of the mod.
I am using v154 for all of these results.
I am also currently using forge 1448 (recommended)
from biometweaker.
updated title to better reflect the issues being discussed.
from biometweaker.
I'm afraid this issue just got a lot harder to solve. This is what happened when I ran that script:
One of the mods you are using is causing the topBlockMeta to fail. I'll need a full client log and a full mod list. Once you done that, you can try removing mods you might suspect to be messing with generation.
from biometweaker.
I have suspicion it's actually Biomes O'Plenty doing this. Which makes no logical sense as I am using the default terrain generator. So BiomesOP shouldn't even be affecting my worlds. I am however forcing BiomeOP biomes into my world using the biome replace method in my original script.
from biometweaker.
I can confirm your suspicions. Throwing Biomes O' Plenty into my world causes the lack of topBlockMeta. This is because Biomes O' Plenty overrides vanilla biomes with their own "inherited" biomes:
This new biome runs the generator method in the old biome. However, since the old biome is replaced during preInit, BiomeTweaker is actually setting the topBlockMeta in the inherited biome. The old biome does not see this new value, and generates with the default meta.
A fix for this could be to move the script parsing to the even earlier FMLConstructionEvent, allowing another application stage "CONSTRUCTION" that will apply before "PRE_INIT". This will allow the field to be properly set in the old biome. I'll get back to you when I implement a fix.
from biometweaker.
I actually found a fix myself. I simply disabled BiomeOP's overrides.
"vanilla biomes to override" {
B:"Birch Forest"=false
B:"Birch Forest Hills"=false
B:"Cold Taiga"=false
B:"Cold Taiga Hills"=false
B:Desert=false
B:DesertHills=false
B:"Extreme Hills"=false
B:"Extreme Hills Edge"=false
B:Forest=false
B:ForestHills=false
B:Hell=false
B:"Ice Plains"=false
B:Jungle=false
B:JungleEdge=false
B:JungleHills=false
B:Mesa=false
B:"Mesa Plateau"=false
B:"Mesa Plateau F"=false
B:MushroomIsland=false
B:MushroomIslandShore=false
B:Ocean=false
B:Plains=false
B:River=false
B:"Roofed Forest"=false
B:Savanna=false
B:"Savanna Plateau"=false
B:Swampland=false
B:Taiga=false
B:TaigaHills=false
}
doing this allowed my worlds to generate proper finally.
from biometweaker.
Glad to hear. I am still going to implement the fix mentioned above, in case anyone wants to keep the BOP overrides.
from biometweaker.
Aye just glad I could be of help throwing that issue into the wind. So far the generation is working very well. once those overrides were disabled. Suddenly everything started generating proper. Honestly I think i'm going to have to throw in a biome replacement for every vanilla biome...Now I have lovely taiga biomes spawning next to my deserts xD
from biometweaker.
You should now be able to allow BOP's overrides, and use the "PRE_INIT" stage in the latest build.
from biometweaker.
\o/
I'll commence testing shortly then. There is a bowl of ramen with my name on it down the street.
from biometweaker.
I think we can go ahead and close this issue. It's starting to become a convoluted mess of topics.
from biometweaker.
Related Issues (20)
- forBiomesOfTypes() does not respect previously set types [1.12.2]
- [1.19.2-4.1.3] `/biometweaker output` doesn't generate biomes HOT 1
- Some chunks do not get their blocks replaced when using registerGenBlockRep [1.18.2]
- Cannot seem to remove a biome nor replace it in 1.19.2 HOT 2
- biomeTweaker fails to use remove() command [1.19.2] HOT 4
- Biometweaker not creating boimetweaker.cfg HOT 6
- registerGenBlockRep not working on custom biome HOT 1
- [1.18.2] Issues with the Tectonic Datapack
- cannot remove spawns from Panthalassa and Terralith
- [1.12.2] Set biome command not working
- [1.18.2] BiomeTweaker's blockRep configuration does not work on terrain datapacks HOT 1
- [1.19.2] issue with the "remove" command HOT 1
- [1.7.10] BiomeTweaker does not create scripts folder and mod is "loaded" not not "active" HOT 4
- Advanced block placement not working [1.19.2] HOT 1
- [Question] [1.18.2] Biome Dimension Placement HOT 1
- [1.12.2] Can't get get new biome to spawn in nether HOT 6
- Script doesn't work HOT 1
- [1.12.2] replacing one flower with another
- addSpawn doesn't work HOT 1
- newSplotchDecoration doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biometweaker.