Jump to content

[1.9.4] Nether Biomes


Recommended Posts

Listen for WorldEvent.Load. Check if it's the nether dimension. If so, modify the biomeProvider field in the world's provider.


That works correctly but the biomes still spawn as the normal Nether. To have them generate correctly, would I have to replace the ChunkProvider for the Nether?

Link to comment
Share on other sites

You are not supposed to modify anything. You are supposed to change the BiomeProvider. By default the nether uses a BiomeProviderSingle which always gives the same biome. You have to substitute a different one.


Here is what I have been testing:

    public void onWorldLoad(WorldEvent.Load event)
        World world = event.getWorld();

        if(world.provider instanceof WorldProviderHell)
            event.getWorld().provider.biomeProvider = new BiomeProviderSingle(Biomes.FROZEN_OCEAN);




It does change the biome but as you can see it still generates as a regular hell biome.

Link to comment
Share on other sites

What would you expect instead? Frozen Ocean? So you do want it to look like the overworld?


I am just using the Frozen Ocean biome for testing because I have yet to create my custom biomes. I want it to have different biomes like the overworld.


Example(Biomes O' Plenty Nether):

width=520 height=272https://usercontent2.hubstatic.com/12410497_f520.jpg[/img]

Link to comment
Share on other sites

You need to completely replace the terrain generation then.

You have to override the WorldProvider by modifying the


field in


to your own WorldProvider. Note that this is of course incompatible with any other mod doing this.


I used an AT to make the clazz field public in DimensionType. Would this be the best way to do it?


DimensionType.NETHER.clazz = WorldProviderNEX.class;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.