A library mod for adding End and Nether biomes or structures, and for creating new biome ambience!
Also unifies different older mods' End and Nether biome generators under one system, fixes respawn dimension logic and other bugs, and offers new settings for the End and Nether.

If you're a modpack developer wanting to add Nether API to a modpack distributed outside of CurseForge or Modrinth, use File Director to avoid reuploading Nether API's files.
API Features:
Ability to add custom biome ambience!
- This is applicable to any biome, not just End or Nether biomes.
- Can have passive ambient sounds (can also be set with
BiomeAmbienceEvent). - Can have a custom darkness ambient sound (can also be set with
BiomeAmbienceEvent). - Can spawn passive particles (can also be set with
BiomeAmbienceEvent). - Can have a custom lava color (idea provided by Mellohi).
Ability to add custom End and Nether biomes!
- Can have a custom biome generation weight (can be set with
NetherAPIRegistryEvent). - Can have a custom fog color (can also be set with
NetherAPIFogColorEvent). - Can have a custom music type.
- Can have a custom surface builder, and a custom chunk populator.
- Can have custom cave carving conditions.
- Can have custom Chorus Plant, End City, and Small End Island generation conditions (End biomes only).
- Can have multiple weighted sub-biomes and edge-biomes.
Ability to add custom End and Nether structures!
- Can generate between chunks (like Nether Fortresses).
- Can have custom entity spawning properties (like Nether Fortresses).
- Can have custom generation conditions.
- All registered structures automatically work with the /locate command.
- All registered structures automatically check for other structures when generating, so they won't intersect.
New EnumPlantTypes!
- These are applied automatically by Nether API to various modded End and Nether plants and soil blocks, to let them respect other mods' "End Stone"-like or "Netherrack"-like soil blocks. This allows for new inter-compatibility between any plants and soils from different mods that use them!
PlantUtils.END_PLANT_TYPE: This PlantType is for any plants that can be planted on "End Stone"-like blocks. At runtime this is automatically applied to Vanilla's Chorus Plants.PlantUtils.NETHER_PLANT_TYPE: This PlantType is for any plants that can be planted on both "Netherrack"-like blocks and "Soul Sand"-like blocks.PlantUtils.NETHERRACK_PLANT_TYPE: This PlantType is for any plants that can be planted on "Netherrack"-like blocks.PlantUtils.SOUL_SAND_PLANT_TYPE: This PlantType is for any plants that can be planted on "Soul Sand"-like blocks. This field just set to Forge'sEnumPlantType.Nether, since they serve the same purpose.
Mod Features:
Features:
- Allows end biome mods to work together by unifying end biome generation code!
- Allows nether biome mods to work together by unifying nether biome generation code!
- Allows users to define a default "player spawn dimension" through new config settings!
- Automatically enables Forge's cascading world gen fix during End & Nether generation!
- Caves can now generate in the End's outer islands!
- Nether caves can now carve through biome top/filler blocks and soul sand (instead of only netherrack)!
- New config setting to disable the first Ender Dragon spawn. When this setting is active: an End Gateway will generate, the Ender Dragon can still be summoned using End Crystals, and the dragon egg still appears after the Ender Dragon's first death.
- The Nether can now be 256 blocks tall!
- This feature is disabled by default.
- This feature should only be enabled for new worlds (or old worlds if you reset the Nether first).
- For many mods that generate their own nether features, you'll have to adjust their configs to account for the new height. Currently all mods that Nether API adds its own support for (and do not require manual config editing) are as follows (it's also assumed that any mods using Nether API as a dependency have automatic support for this feature):
Fixes:
- Fix "initial spawn position" bugs for many dimensions (like positioning players in lava or well above the ground).
- Fix MC-10369 (Certain particles do not get spawned):
- Baby animal spawning particles.
- Ender dragon block destruction particles.
- Entity teleportation particles.
- Eye of ender placement particles.
- Fluid mixing effect particles.
- Iron golem creation particles.
- Redstone torch burnout particles.
- Snow golem creation particles.
- Wither creation particles.
- Fix MC-31681 (Fog and clouds darken when you're under any blocks).
- Perform initial spawn chunk load for the "player spawn dimension" instead of the overworld, and generate spawn positions for all respawn dimensions.
- The Ender Dragon can now longer destroy blocks with a blast resistance of obsidian (enchanting tables, ender chests, etc.). Also prevent the Ender Dragon from being able to destroy torches (as they're a part of the exit portal).
- Respawning now accounts for all of Forge's per-dimension bed spawn points instead of only the current dimension. This change alone fixes some mods (like aether beds not working if you die outside the aether), and greatly simplifies the respawn logic needed by mod developers wanting to add a dimensional respawn point.
Special Mod Compatibility:
BetterNether
- All three versions are supported (BetterNether, BetterNether: RotN Edition, and BetterNether Continuation).
- BetterNether uses a pseduo-biome generation system, this mod disables that and gives it real biomes.
- Heavily improve performance when generating features (by not causing block updates). This also fixes several cascading world generation issues.
- New config setting that allows eye vines to generate in Biomes O' Plenty's "Visceral Heap" biome.
Biomes O' Plenty
- Add config option to allow the fluids from Biomes O' Plenty that already generate in the Nether (Blood and Honey) to not vaporize in the Nether when placed through a bucket.
- Add config option to toggle world-type dependency for BOP's nether biomes, allowing them to spawn even when the world-type isn't set to "Biomes O' Plenty".
- Fix BOP dynamic trees addon creating dirt in the nether.
- Fix BOP nether bramble cascading world generation issues.
- Fix BOP nether hive cascading world generation issues.
- Fix BOP nether lava cascading world generation issues, caused by that mod copying Vanilla's code but not copying Forge's fix for it (see MC-117810).
- Prevent BOP from hiding its cascading world generation issues from the logger (lol).
- Prevent BOP from removing End and Nether fog.
Journey Into The Light
- JITL uses a pseduo-biome generation system, this mod disables that and gives it real biomes.
- Fix all of JITL's Nether cascading world generation bugs.
- Fix certain structures using bad entity ids for spawners (caused lots of log spam and broken spawners).
- Improve performance when generating JITL's Nether features (by not causing block updates).
- JITL's Nether entities now spawn only in JITL's Nether biomes instead of Vanilla's Hell biome (any can be reverted via GroovyScript):
- Hell Cow: Now only spawns in the Blood Forest & Blood Forest Edge biomes.
- Hell Serpant: Now only spawns in the Heat Sands biome.
- Hell Turtle: Now only spawns in the Heat Sands biome.
- Inferno Blaze: Now only spawns in the Blood Forest biome.
- Mini Ghast: Now only spawns in the Blood Forest biome.
- Reaper: Now only spawns in the Earthen Seep biome.
- Witherspine: Now only spawns in the Earthen Seep biome.
Natura
- Only generate Natura's Nether features in Vanilla's Hell biome, as they usually are very out of place in modded ones. Other biomes can be whitelisted via GroovyScript.
Nethercraft Classic
- Add new "Glowing Grove" biome that Nethercraft now adds all of its features into.
- Fix all of Nethercraft's cascading world generation issues.
- Fix Nethercraft's bad entity network registries (also fixes weird projectile behavior).
- More of Nethercraft's entities are now fireproof.
- Nethercraft's Dark Zombies are now summoned instead of normal zombies during
SummonAidEventwhile in the nether - Nethercraft's Slime Eggs can no longer spawn entities on the client.
NetherEx
- Add functionality for NetherEx's previously unused config values for soul sand and gravel generation.
- Fix bad structure size check, no longer causes cascading world gen when checking structure placement.
Stygian End: Biome Expansion
- All three versions are supported (Stygian End: Biome Expansion, Stygian End: Unoffical, and Stygian End Continuation).
- Chorus Plants no longer generate in Stygian End's biomes (each can be toggled via configs).
- End Cities no longer generate in Stygian End's biomes (each can be toggled via configs).
- Fix all of Stygian End's canopy cascading world generation issues (done by drastically changing how the trees generate, can be reverted via configs).
- Fix all of Stygian End's volcano cascading world generation issues.
- Stygian End's acidic plains biome features now generate only on end obsidian.
Direct contact: jbred.dev@gmail.com
This mod will not be ported
How to Install Nether API (Mod)
Nether API by jbredwards is verified for Forge across Minecraft versions 1.12.2 (latest release: 1.5.2, file size: 537 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.12.2) and platform (Forge).
- Make sure you have the compatible loader or environment installed for Forge.
- Move the downloaded Nether API file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Bug Fixes:**
- NetherEx Coolmar Spider rendering bugfix from v1.5.0 now works properly.
- Compatibility Fixes and Improvements:**
- Dynamic Surroundings:
- Fix a bug where "ambience.json"-defined fog colors were not being visually applied on player join, and would only be visually applied when the player moved between blocks.
- Improve performance of biome fog color algorithm in the nether/end, by using the biome fog color already calculated by Nether API.
- Make the biome fog color transition between biomes smoother in the nether/end.
- Snow no longer accumulates on the nether roof if the biome temperature is cold enough (like the NetherEx arctic abyss bome). This happened because Dynamic Surroundings applies weather to the nether.
- Bug Fixes:**
- Fix crash while Biomes O' Plenty is not installed (fixes [#46](https://github.com/jbredwards/Nether-API/issues/46)) (this bug only affected v1.5.0 of Nether API).
- Features:**
- Allow biome ambience (including end and nether biome fog) to be changed through a new
ambience.jsonconfig file (more info [here](https://github.com/jbredwards/Nether-API/blob/1.12.2/README.md))! - Config settings:
- Many new config settings to customize end caves.
- New config settings to reload
ambience.jsonand controlambience.jsonserver sync. - New config settings to set the min/max length that nether fortress pillars can generate (suggestion from [#23](https://github.com/jbredwards/Nether-API/issues/23)). Note that each large pillar is actually made up of many 1x1 pillars. Probably best used for void worlds.
- New config settings to set the min/max y position of a nether fortress structure start (suggestion from [#23](https://github.com/jbredwards/Nether-API/issues/23)).
- New config setting to toggle the dragon griefing fix.
- New config settings to toggle [MC-10369](https://bugs.mojang.com/browse/MC/issues/MC-10369) fixes.
- Fix occasional Vanilla weather desync when traveling between dimensions. This fixes the nether fog sometimes being darker than it should be.
- Fix Vanilla dragon egg teleportation bugs:
- Fix teleporting into the air.
- Fix teleporting outside the world.
- Particles now show the actual direction the dragon egg went.
- Fix Vanilla ender teleportation bugs (with a config setting to disable):
- Prevent client-only teleportation. Fixes janky teleporting when fighting endermen or shulkers (for example).
- Prevent dead entity teleportation. Fixes annoying situations where enderman loot will be somewhere else.
- Modded fluids now have a more accurate fog color:
- If a fluid doesn't have a color set, use its block color or map color rather than white.
- New
/nether_api ambience reloadcommand the reloadsambience.jsonon the server and syncs with all clients.
- Bug Fixes:**
- Better sorting for Nether API config sub-categories.
- Don't calculate and load initial spawn chunks for non-initial spawn dimensions that permit respawning (fixes [#39](https://github.com/jbredwards/Nether-API/issues/39)).
- Due to biome registry order, it was possible for BOP or NetherEx to re-enable the Vanilla hell biome though their own default configs even if the Nether API config weight was set to was 0. This is now fixed.
- Fix biome fog color flickering when crossing between biomes.
- Fix clients referencing Vanilla's nether/end world providers instead of Nether API's if they join a server without loading a singleplayer world first. This fixes the following bugs:
- Nether/End biome fog not working on dedicated servers.
- Nether/End biome music not working on dedicated servers.
- Nether/End using overworld cave sounds (instead of none) on dedicated servers (if the biome doesn't have its own dark ambience sound).
- Probably other stuff too.
- Fix mod credits and description for prism launcher.
- Fix server lag when calculating a random respawn point with a with large spawn radius (fixes
- Bug Fixes:**
- Fix BOP's grass blocks missing their biome color tint when rendered outside the normal block renderer (fixes [#38](https://github.com/jbredwards/Nether-API/issues/38)).
- Compatibility Fixes and Improvements:**
- BetterNether Continuation:
- Revert (probably unintentional) change that mod made to black apple generation that let them generate in the air (fixes [#30](https://github.com/jbredwards/Nether-API/issues/30)).
- Features:**
- Add Modrinth [
updateJSON](https://docs.minecraftforge.net/en/1.12.x/gettingstarted/autoupdate/#forge-update-checker) url.
- Compatibility Fixes and Improvements:**
- Dynamic Surroundings HUD:
- Fix error while using Dynamic Surroundings v3.6.0.0 (fixes [#24 (comment)](https://github.com/jbredwards/Nether-API/issues/24#issuecomment-4536545760)) (this bug only affected v1.4.3 of Nether API).
- Bug Fixes:**
- Add description for the "betternether.moldOnMyceliumOnly" config setting.
- Fix crashes caused by the new v1.4.0 plant types (fixes [#35](https://github.com/jbredwards/Nether-API/issues/35)).
- Fix the random player spawn position check marking all spots in unloaded chunks as invalid (fixes [#34](https://github.com/jbredwards/Nether-API/issues/34)).
- Compatibility Fixes and Improvements:**
- BetterNether:
- Fix crash when player spawn dimension is set to the nether while BetterNether is installed.
- Fix eye vines carving into terrain ([#24](https://github.com/jbredwards/Nether-API/issues/24)).
- New config setting to control 3D models for red and brown mushrooms ([#24](https://github.com/jbredwards/Nether-API/issues/24)).
- Biomes O' Plenty:
- Fix BOP eyebulb block particle color.
- Bukkit:
- Fix compatibility for Forge servers running Bukkit (by funkyra in [#31](https://github.com/jbredwards/Nether-API/issues/31)).
- Dynamic Surroundings:
- Dust storm particle color in nether now matches the fog color (instead of always being a bright red).
- Fog for non-surface dimensions no longer factors daylight. In non-surface dimensions, daytime calculations aren't applicable, which resulted in the Nether and End fog colors always being much darker than they should be.
- Support boss fog thickness and dimensional fog thickness modifiers in fog range calculation ([#24](https://github.com/jbredwards/Nether-API/issues/24)).
- Support Nether API fog colors in fog color calculation.
- Natura:
- New config setting to re-enable Natura nether generation for all nether biomes ([#36](https://github.com/jbredwards/Nether-API/issues/36)).
- NetherEx:
- Add NetherEx elder mushroom plants to creative tab ([#24](https://github.com/jbredwards/Nether-API/issues/24)).
- Bug Fixes:**
- Fix critical client-world desync issue (fixes [#27](https://github.com/jbredwards/Nether-API/issues/27)).
- Fix end exit portal generation forcing a portal to exist at y=63.
- Fix possible JVM crash (for real this time) (fixes [#26](https://github.com/jbredwards/Nether-API/issues/26)).
- Bug Fixes:**
- Fix Stygian End crash (fixes [#25](https://github.com/jbredwards/Nether-API/issues/25)).
- (Maybe?) Fix possible JVM crash (fixes [#26](https://github.com/jbredwards/Nether-API/issues/26)).
- Features:**
- Add contributors to this mod's credits.
- Add pixelated mod logo in the Nether API mod list gui (I'm using the old mod logo, so I don't have to animate a logo in the mod list).
- Allow users to define a default "player spawn dimension" through new config settings.** Note that each world then saves these values, letting you have multiple worlds with different default spawn dimensions!
- Lang keys for credits and description.
- Make this mod's config gui translucent while in a world.
- Merge compatibility config categories in the gui, and remove the "(Compatibility)" text from those categories. This change does not impact the config file itself.
- New config setting to disable the first Ender Dragon spawn.** When this setting is active: an End Gateway will generate, the dragon can still be summoned using End Crystals, and the dragon egg still appears after the dragon's first death.
- New
nether_apitree command: listsubcommand: prints Nether API biome weight and structure info to the console.- New "respawn dimension" logic:**
- Each dimension can now store its own global (or generated) default spawn position.
- Fix "random spawn position" bugs for many dimensions (like positioning players in lava or well above the ground).
- Perform initial spawn chunk load for the "player spawn dimension" instead of the overworld, and generate spawn positions for all respawn dimensions.
- Respawning now accounts for all of Forge's per-dimension bed spawn points instead of only the current dimension. This change alone fixes some mods (like aether beds not working if you die outside the aether), and greatly simplifies the respawn logic needed by mod developers wanting to add a dimensional respawn point.
- Nether API compat configs will no longer appear in the config gui if its respective mod is not present.
- Remove non-functional "disable" button from Nether API in the mod list gui.
- Bug Fixes:**
- Biome ambience particles now account for the "Video Settings -> Particles" setting.
- Ensure that server-side particle spawning is not fixed by mods like Random Patches, RLMixins, and Universal Tweaks. Nether API also fixes [MC-10369](https://bugs-legacy.mojang.com/browse/MC-10369), but by individually fixing each bug mentioned in the original report. Applying a global fix causes bugs with many mods, like causing particles to be spawned twice.
- Nether caves now generate up to the actual world height instead of "actual world height minus 8".
- No longer crash if another mod outright removes the Nether or End.
- No longer generate End Cities twice within
IEndBiomebiomes (fixes the second and third parts of [#20](https://github.com/jbredwards/Nether-API/issues/20)). - No longer generate Nether Fortresses twice within
INetherBiomebiomes (fixes [#17](https://github.com/jbredwards/Nether-API/issues/17) & [#17 (comment)](https://github.com/jbredwards/Nether-API/issues/17#issuecomment-2599674676)). - Some improvements to the "tall
- Features:**
- Completely rework configs (this means your old configs will no longer work, but there were only 2 settings at the time).
- Config setting to disable nether caves.
- End caves (with a config setting to disable).
- End biome api!**
- End structure api!**
- Fix [MC-10369](https://bugs.mojang.com/browse/MC-10369) *(Certain particles do not get spawned)*:
- Baby animal spawning particles.
- Ender dragon block destruction particles.
- Entity teleportation particles.
- Eye of ender placement particles.
- Fluid mixing effect particles.
- Iron golem creation particles.
- Redstone torch burnout particles.
- Snow golem creation particles.
- Wither creation particles.
- Fix [MC-31681](https://bugs.mojang.com/browse/MC-31681) *(Fog and clouds darken when you're under any blocks)*.
- The Nether can now be 256 blocks tall!**
- This is disabled by default.
- This should only be enabled for new worlds (or old worlds if you [reset the Nether](https://minecraft.wiki/w/Tutorials/Server_maintenance#Resetting_the_Nether_or_the_End) first).
- For many mods that generate their own nether features, you'll have to adjust their configs to account for the new height. Currently all mods with builtin support (and do not require manual config editing) are as follows *(it's also assumed that any mods that use Nether API as a dependency have automatic support for this feature)*:
- [BetterNether](https://www.curseforge.com/minecraft/mc-mods/betternether), [BetterNether: RotN Edition](https://www.curseforge.com/minecraft/mc-mods/betternether-rotn-edition), and [BetterNether Continuation](https://modrinth.com/mod/betternether-continuation).
- [Biomes O' Plenty](https://www.curseforge.com/minecraft/mc-mods/biomes-o-plenty).
- [Journey Into The Light](https://www.curseforge.com/minecraft/mc-mods/journey-into-the-light-mod).
- [Natura](https://www.curseforge.com/minecraft/mc-mods/natura).
- [Nethercraft Classic](https://www.curseforge.com/minecraft/mc-mods/nethercraft-classic).
- [NetherEx](https://www.curseforge.com/minecraft/mc-mods/netherex).
- Compatability Features:**
- Advanced Rocketry:
- Prevent AR from removing End and Nether fog.
- BetterNether:
- Heavily improve performance when generating features (by not causing block updates). This also fixes several cascading world generation issues.
- Biomes O' Plenty:
- Fix BOP nether bramble cascading world generation issues.
- Fix BOP nether hive cascading world generation issues.
- Prevent BOP from removing End and Nether fog.
- Journey Into The Light:
- JITL uses a pseduo-biome generation system, disable that and gives it real biomes.
- Fix *all* of JITL's Nether cascading world generation bugs.
- Fix certain structures using bad entity ids for spawners (caused lots of log spam and broken spawners).
- Improve performance when generating JITL's Nether features (by not causing block updates).
- JITL's Nether entities now spawn only in JITL's N
- Features:**
- New
IAmbienceWorldProviderinterface IAmbienceBiomemethods are all now nullable, and some are no longer client-side only- Nether biomes no longer play overworld cave sounds by default
- Changed the default nether biome fog color to the one used by Vanilla's Nether Wastes biome in 1.16
- Bug Fixes:**
- Fix crash when removing looping ambient sound as a result of moving between biomes
- Fix all bad biome coords checks for biome ambience
- Fix black nether biome fog
- Features:**
- New
INetherAPIRegistryListenerinterface - ARR license
- Bug Fixes:**
- Added compatibility for BetterNether Continuation v0.1.9.6
- Improved compatibility with BetterNether's configs
- Bug Fixes:**
- Fix possible conflict involving Mixins ([issue#1](https://github.com/jbredwards/Nether-API/issues/1))

