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 does the Hard Light Swords damage scale with gun marks? How does the Hard Light Swords damage scale with gun marks?

Posted On: April 7, 2023
The Hard Light Sword's description says it "Deals critical damage depending on the number of gun marks on the target". How exactly does the damage scaling work? How much extra damage get...[More]


Professor Layton: are there multiple solutions to Alchemists Lair 08? Professor Layton: are there multiple solutions to Alchemists Lair 08?

Posted On: March 12, 2023
In Professor Layton and the Miracle Mask, are there multiple solutions to the Alchemist's Lair 08 downloadable puzzle? I find that the four flasks in the bottom right corner should be able to b...[More]


Damn, Minthara. Just pop off I guess. Damn, Minthara. Just pop off I guess.

Posted On: October 30, 2024
Question from user AcidicJester at BaldursGate3 at reddit.com.Answer:As long as we have spell slots, we win the game.Answer from user Parking_Put_1701 at BaldursGate3 at reddit.com....[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]


How do supercharged slots work? How do supercharged slots work?

Posted On: April 19, 2024
I came back to No Man's Sky and a few things regarding the inventory have changed in the last months. Now I have some violet slots that are marked as supercharged.As I understood, the tech installed i...[More]


Has anyone done an absolutist run? Has anyone done an absolutist run?

Posted On: March 12, 2025
Not killing the mind flayer in the very beginning. Having compassion for it lol. Siding with Minthara. Pick all absolute dialogue options. Let Marcus take Isobel. Get branded. Lol.I was just wondering...[More]


Man spoke nothing but facts and truth Man spoke nothing but facts and truth

Posted On: December 13, 2024
Question from user ScarHydreigon87 at BaldursGate3 at reddit.com.Answer:Is it even legal for one man to be this based?Answer from user Roland1232 at BaldursGate3 at reddit.com....[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]


Why do I have the dark arts pack even though I never bought the dark arts pack Why do I have the dark arts pack even though I never bought the dark arts pack

Posted On: July 20, 2023
I don't know how this happened, I pre ordered the base version of the game i never saw a email saying that I have bought the pack. (and yes I can play the dungeon thingy). Question from user bi...[More]


Why does no one use controllers? Why does no one use controllers?

Posted On: May 14, 2024
Seriously, every video I see online is someone playing the game while have to click every time they want to move and they have a huge action bar at the bottom of the screen. Why don’t more people us...[More]