Custom Biome by Y level minecraft datapack

[BACK]
Custom Biome by Y level minecraft datapack
Posted On: January 16, 2023

I would like anywhere under y28 in the nether to be a custom biome called "nether_depths". I tried using code from the deep dark (since it only spawns deep in the world), but it does not seem to work. How do I change the Y level of biomes?


Question from user Aceplante at gaming.stackexchange.com.


Answer:

So I ended up figuring it out myself. First, you can set a custom check through use of a density_function with the following value:.


{.


"type": "minecraft:range_choice",.


"input": "minecraft:y",.


"min_inclusive": -32,.


"max_exclusive": 32,.


"when_in_range": 1,.


"when_out_of_range": 0.


}.


In this case, -32 to +32 will pass the check with a value of 1, otherwise the value will be 0.


Then in your corresponding noise_settings file (nether in this case) have depth reference your file (which I called depths): "depth": "minecraft:nether/depths".


Then finally, to add the biome, it's actually not done in noise_settings as I initially expected. It is instead done in the dimension folder. With something to the effect of the following:.


{.


"type": "minecraft:the_nether",.


"generator": {.


"type": "minecraft:noise",.


"settings": "minecraft:nether",.


"biome_source": {.


"type": "minecraft:multi_noise",.


"biomes": [.


{.


"biome": "minecraft:nether_wastes",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.0,.


"offset": 0.0,.


"temperature": 0.0,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:soul_sand_valley",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": -0.5,.


"offset": 0.0,.


"temperature": 0.0,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:crimson_forest",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.0,.


"offset": 0.0,.


"temperature": 0.4,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:warped_forest",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.5,.


"offset": 0.375,.


"temperature": 0.0,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:basalt_deltas",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.0,.


"offset": 0.175,.


"temperature": -0.5,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:nether_depths",.


"parameters": {.


"temperature": -0.6,.


"humidity": 0.0,.


"continentalness": 0.0,.


"erosion": 0.0,.


"weirdness": 0.0,.


"depth": 1,.


"offset": 0.0.


}.


}.


].


}.


}.


}.


Notice how depth is set to 0 for all biomes except my custom one. That means it is most likely out of any other biome to get placed between my specified y values (-32 to +32) as it's depth value matches the value from the check while the others do not.


Answer from user Aceplante at gaming.stackexchange.com.


[BACK]
Custom Biome by Y level minecraft datapack
Posted On: January 16, 2023

I would like anywhere under y28 in the nether to be a custom biome called "nether_depths". I tried using code from the deep dark (since it only spawns deep in the world), but it does not seem to work. How do I change the Y level of biomes?


Question from user Aceplante at gaming.stackexchange.com.


Answer:

So I ended up figuring it out myself. First, you can set a custom check through use of a density_function with the following value:.


{.


"type": "minecraft:range_choice",.


"input": "minecraft:y",.


"min_inclusive": -32,.


"max_exclusive": 32,.


"when_in_range": 1,.


"when_out_of_range": 0.


}.


In this case, -32 to +32 will pass the check with a value of 1, otherwise the value will be 0.


Then in your corresponding noise_settings file (nether in this case) have depth reference your file (which I called depths): "depth": "minecraft:nether/depths".


Then finally, to add the biome, it's actually not done in noise_settings as I initially expected. It is instead done in the dimension folder. With something to the effect of the following:.


{.


"type": "minecraft:the_nether",.


"generator": {.


"type": "minecraft:noise",.


"settings": "minecraft:nether",.


"biome_source": {.


"type": "minecraft:multi_noise",.


"biomes": [.


{.


"biome": "minecraft:nether_wastes",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.0,.


"offset": 0.0,.


"temperature": 0.0,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:soul_sand_valley",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": -0.5,.


"offset": 0.0,.


"temperature": 0.0,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:crimson_forest",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.0,.


"offset": 0.0,.


"temperature": 0.4,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:warped_forest",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.5,.


"offset": 0.375,.


"temperature": 0.0,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:basalt_deltas",.


"parameters": {.


"continentalness": 0.0,.


"depth": 0,.


"erosion": 0.0,.


"humidity": 0.0,.


"offset": 0.175,.


"temperature": -0.5,.


"weirdness": 0.0.


}.


},.


{.


"biome": "minecraft:nether_depths",.


"parameters": {.


"temperature": -0.6,.


"humidity": 0.0,.


"continentalness": 0.0,.


"erosion": 0.0,.


"weirdness": 0.0,.


"depth": 1,.


"offset": 0.0.


}.


}.


].


}.


}.


}.


Notice how depth is set to 0 for all biomes except my custom one. That means it is most likely out of any other biome to get placed between my specified y values (-32 to +32) as it's depth value matches the value from the check while the others do not.


Answer from user Aceplante at gaming.stackexchange.com.


[BACK]

How to connect storage items with stills? How to connect storage items with stills?

Posted On: January 17, 2023
I'm pretty new to dwarf fortress, so sorry if this question doesn't make sense. I've been trying to use a still, but most of the options are unavailable because it needs an empty storage i...[More]


In Yakuza 0, Do weapon repairs cost less if a weapons durability isnt fully used up? In Yakuza 0, Do weapon repairs cost less if a weapons durability isnt fully used up?

Posted On: March 28, 2023
If I go to The Dragon & Tiger shop to repair a weapon or refill a gun's ammo, will it cost less money if I haven't fully used up all of that weapon's durability/ammo? Question from ...[More]


What are the in-app purchases for Layton and the Diabolical Box on Android? What are the in-app purchases for Layton and the Diabolical Box on Android?

Posted On: March 19, 2023
The Google Play store page for Professor Layton and the Diabolical Box on Android says it contains in-app purchases. I can't find any other mention of them on the store page. What are the in-ap...[More]


How many aspects can you hold in your inventory in Diablo 4? How many aspects can you hold in your inventory in Diablo 4?

Posted On: June 14, 2023
How many aspects can you hold in your inventory in Diablo 4? Is there a max? I can't find anything on the internet about this. Question from user Merl at stackexchange. Answer: Aspect ...[More]


Is there any way I can give myself 360° vision in game? Is there any way I can give myself 360° vision in game?

Posted On: July 6, 2023
A key gameplay mechanic in Project Zomboid is that your character can only see what's in front of them, even though the game has an isometric perspective. Anything behind becomes shrouded. That...[More]


I don't like Gale I don't like Gale

Posted On: April 7, 2026
I know I'm not alone in this opinion either, but there's also a shocking amount of people who love Gale so I'm trying to understand the appeal. .Please understand, I have used Gale in my party all the...[More]


How do you discover combos in Street Fighter V? How do you discover combos in Street Fighter V?

Posted On: April 11, 2023
If I wanted to learn a character in SFV (or any fighting game, really), how should I go about discovering new combos (without the use of videos). Should I be looking at frame data? Question from us...[More]


Why is there an unlit campfire under Zelda Tabantha Bridge Stables well? Why is there an unlit campfire under Zelda Tabantha Bridge Stables well?

Posted On: July 9, 2023
I was exploring the well near Tabantha Bridge Stable, and I came across an unlit campfire underground. What's its purpose? Is there any reason for this? I tried igniting it, but nothing happene...[More]


WHY IS SALAMI A WEAPON?!? WHY IS SALAMI A WEAPON?!?

Posted On: March 25, 2025
i don’t even know what to say…should i start beating up the steel watch with salami now????Question from user Bellaswannabe at BaldursGate3 at reddit.com.Answer:Yes start beating people up with th...[More]


Is it possible to play Battlefront 2 with private servers? Is it possible to play Battlefront 2 with private servers?

Posted On: April 15, 2024
I recently purchased Star Wars: Battlefront 2 (2017, Celebration Edition), and I really enjoy playing online. However, I have encountered several hackers. Is there a way for me to setup a server I can...[More]