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]

What are these green and orange dots on the Soviet Installation map? What are these green and orange dots on the Soviet Installation map?

Posted On: August 22, 2023
I am playing Rise of the Tomb Raider on PC. When I press the TAB key, I get the map, and I see (red arrow highlighted) green/orange dots and dotted lines. What do they mean? How can these be use...[More]


What feats do you use the most? What feats do you use the most?

Posted On: April 19, 2024
For me the staples are every melee attacker has to have savage striker, every spell caster has spell sniper, and usually everyone gets a tough thrown in there as well. What are your go to feats and wh...[More]


In Guild Wars 2, Is the area between Kessex Hills, Gendarran Fields and Lions Arch reachable? In Guild Wars 2, Is the area between Kessex Hills, Gendarran Fields and Lions Arch reachable?

Posted On: March 31, 2023
Well, I always thought it wasn't reachable since it's inhabited by the tengu, blocked off by the Dominion of Winds. But when I browsed through the explored map on the Guild Wars 2 Wiki, I foun...[More]


How do you make Cuphead black and white? How do you make Cuphead black and white?

Posted On: March 13, 2024
I've seen screenshots of it, and a character on the third isle says something about you have to be a pacifist or something. How is it done?Question from user Levi C. Olson at gaming.stackexchange.com....[More]


Are Distances in the Zelda Tears Depths Smaller than on the Overworld? Are Distances in the Zelda Tears Depths Smaller than on the Overworld?

Posted On: June 9, 2023
I have nothing to prove it but it does feel like distances in the depths, like between 2 lightroots, are smaller than if I was to walk between the 2 associated shrines on the overworld. Is there a ...[More]


Does every shrine in Tears of the Kingdom have a treasure chest? Does every shrine in Tears of the Kingdom have a treasure chest?

Posted On: May 14, 2023
Do all of the shrines in The Legend of Zelda: Tears of the Kingdom have at least one treasure chest? Question from user ahsteele at gaming.stackexchange.com. Answer: Yes. Tears of the Kingdom...[More]


Will Minecraft librarian villagers sell Mending books at tier 1? Will Minecraft librarian villagers sell Mending books at tier 1?

Posted On: June 5, 2023
I'm currently interested in finding a librarian villager that sells Mending enchanted books, since I have been fishing forever and it's just too slow. My logic is once I find a single Mendi...[More]


Are the Draugr apologizing to me? Are the Draugr apologizing to me?

Posted On: February 4, 2015
Draugr sometimes say "Unstaad Krosis" when attacking. I understand that means "many apologies" in dragon tongue (convo with Paarthurnax). .Does this hint that they are doing something against their wi...[More]


What is the use item in Sam and Max What is the use item in Sam and Max

Posted On: June 23, 2023
This question bothers me since I was a kid. In Sam and Max - Hit the Road, what is the green thing in the "use" icon? Is it a duck? Is it a toy? Question from user Keeper at stackex...[More]


How to Trade Between Pokemon Ruby and Sapphire emulator on my Macbook pro? How to Trade Between Pokemon Ruby and Sapphire emulator on my Macbook pro?

Posted On: March 31, 2024
I would like to trade Pokemon for evolution between Ruby and Sapphire emulators for trades. However, I cannot seem to get an emulator that works on my Macbook M1 with Ventura to load 2 games at once.T...[More]