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 can I get S rank in Resident Evil 3? How can I get S rank in Resident Evil 3?

Posted On: October 8, 2023
I have decided to go for the S rank now that I've finished the game on the different difficulty settings. I jumped on to the Standard and set out to do it. I decided to make things easier by using...[More]


How to learn the duration of spells in Baldurs Gate 3? How to learn the duration of spells in Baldurs Gate 3?

Posted On: August 14, 2023
One thing that continues to annoy me is that a whole lot of spells (and potions) have no information of how long the spell will last. Neither in the spell description nor once actually cast. For ex...[More]


About the paladin characters... About the paladin characters...

Posted On: January 6, 2026
Thinking about the paladins I've seen in this game, Zevlor, Minthara, the false Tyr paladin I forgot the name of, Ketheric Thorm.are ANY of them good aligned? When I think paladin, I think of an armor...[More]


Dark Souls 3, How do I kill the Abyss Watchers? Dark Souls 3, How do I kill the Abyss Watchers?

Posted On: May 21, 2023
I have been trying so hard for a week and I can't figure out how to kill these guys. I can finish off the first phase but no matter how hard I try, I can't kill the fire dude! Does anyone k...[More]


so…uh… how many do - don’t use the parasite powers? so…uh… how many do - don’t use the parasite powers?

Posted On: January 30, 2025
i saw a post the other day talking about the things you do/dont don’t do in a run and a lot of people were like (on their first run mind you) “i would never use weird powers that some random perso...[More]


Why is this Electrolyzer and Hydrogen Generator combo unsustainable? Why is this Electrolyzer and Hydrogen Generator combo unsustainable?

Posted On: April 13, 2024
I have this small Electrolyzer + Hydrogen Generator setup in my base:.The Electrolyzer says it generates 112 g/s of Hydrogen, while the Hydrogen Generator states it needs 100g/s of Hydrogen to functio...[More]


This guy is worse than I thought This guy is worse than I thought

Posted On: January 14, 2025
I finally managed to finish a honor mode, and I made a choice I never made before. .This time I actually agreed to sign Raphael's contract for the Orphic Hammer because I really wanted to beat the gam...[More]


Is it possible to change powers without pausing in MegaMan Legacy? Is it possible to change powers without pausing in MegaMan Legacy?

Posted On: February 26, 2023
Is it possible to cycle through Megaman's powers without pausing the game in MegaMan Legacy Collection? Question from user Ryre at gaming.stackexchange.com. Answer: Unfortunately this is ...[More]


The last thing I expected from this game. The last thing I expected from this game.

Posted On: September 16, 2023
I'm on my first play through as a Hufflepuff witch, and I have to say I'm bowled over by the outfits and how good they look. The costume design team have done such a good job. My wardrobe is s...[More]


Command to say player coords in chat? Command to say player coords in chat?

Posted On: January 28, 2023
Trying to get a command that tells a player's coords in chat. I have a working command: /data get entity @s Pos, but I assume I would need to combine this with /tellraw?Question from user Aceplante at...[More]