• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

GetBiomeAt

Umbrella

Refugee
Hello,

I am using World.getBiomeAt(x,y) to detemine biomes near the local player (near: something like 200 blocks).

However, the function returns null sometimes (I guess the chunk is too far away and not loaded into memory yet).

How could I fix it ?

1) Is there another way to query the biome at 2D coordinates ?

1.i) maybe from the image map ? Is that map available in memory ? Can it be recreated ?

2) Can I force a distant chunk to load without messing up with how the game manages chunks ?

Thank you !

 
Back
Top