
MistyMarshes
Members-
Content Count
9 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout MistyMarshes
-
Rank
Tree Puncher
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Is that always the case? I'm in a WorldCarver's carveRegion method. I remember reading some 1.16 mod's code recently were they used the world there, but I don't remember what kind of pattern they used to make it available at that point. I need it for a couple of reasons. I need to get its server -> ServerWorld -> DimensionSavedManager to start my WorldSavedData, I also want to use its getBiome, and probably a couple more methods. Do I need to look for alternatives?
-
Hello. I was trying to get the World an IChunk is in, on version 1.16.4 (in the WorldCarver's carveRegion method). Given that that seemed impossible, I'm trying now to do the next best thing for my particular case: get the current World for the OVERWORLD, but I couldn't figure that either. Do you know how to do any of those? Thanks for your help!
-
I appreciate your fast answers. Yeah, I think I figured it out for 1.12 by messing with cave generation events. I wonder how I will port it to new versions though. What does COG stand for? I cannot find it.
-
Ok I understand. Wow, that worries me. It sounds like porting worldgen mods to newer versions is really hard without a complete rewrite. Do you know if what I want is even possible within Forge?
-
I see. I was wondering if there is a general answer relatively independent from the versions. What I want is maybe a ChunkGenerator that uses previous generators? How can I get my code called after the generation of each chunk, caves and all? Are there any useful docs you know about that can make things easier, or should I read Forge+MC code directly? Thank you for you time.
-
MistyMarshes joined the community
-
Hi modders, I'm new around here and still learning. Right to my question: do you know how can I call my world generator after caves and other structures are generated? Is there any event I can subscribe or function I can override without messing with other mods irreversibly? I'm currently using 1.12 IWorldGenerator, which I read you don't support, but I might upgrade. In any case, I guess the general question is: How can I get my code called after the generation of each chunk, so I can do whatever I want with the chunk (in a thread safe way) without my changes being overwritten by vanilla generation afterwards? Thanks in advance for your help!