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]

Regional differences in Borderlands 2 Regional differences in Borderlands 2

Posted On: May 19, 2023
General question: Are there any differences in Borderlands 2, based on the game's region code? Specific case: I received a game coded for Region 3, but I live in the U.S.. Are there any signifi...[More]


How to make the event sound from share button louder? How to make the event sound from share button louder?

Posted On: May 15, 2023
I have a little problem finding something in the settings. I want to make the event sound louder when I take a screenshot over the share button since I can barely hear it. Is it possible to adjust ...[More]


Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition? Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?

Posted On: January 19, 2023
This question was split into different questions for each workaround. See these two meta posts for more information.Can you use NBT tags in commands? I’ve tried commands that normally work in J...[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]


With proper aim can an Ambassador always one-shot a sniper? With proper aim can an Ambassador always one-shot a sniper?

Posted On: January 29, 2023
I'm working on my Skullpluggery achievement for Spy. For a while I thought it was straight-forward -- just point, pause (for accuracy), and fire. Worked everytime, until lately, where my lucky str...[More]


Nexus Mod Manager and Archive Files Nexus Mod Manager and Archive Files

Posted On: February 9, 2023
The Nexus Mod Manager has my non-steam mod archives stored in C:\Games\Skyrim\mods. Do the archives I have downloaded contain redundant information, and do I need to keep these downloaded copies? Will...[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]


Where can I check spell hunger for my Dungeon Crawl spells? Where can I check spell hunger for my Dungeon Crawl spells?

Posted On: May 8, 2023
Where, in game, can I check how much hunger each of my spells will cost me? I know I can check my morgue file by dumping with # but that's tedious. (Note that this applies to versions prior ...[More]


What happens to the Master Builder when using the Battle Machine? What happens to the Master Builder when using the Battle Machine?

Posted On: July 11, 2023
I haven't unlocked/rebuilt the Battle Machine yet in CoC Builder Base. . Since the Master Builder "operates" the Battle Machine during an attack, can you use the Battle Machine for at...[More]


How can I perform an arbitrary search in the Xbox YouTube app? How can I perform an arbitrary search in the Xbox YouTube app?

Posted On: March 25, 2023
Admittedly I haven't played with the Xbox YouTube app much. I looked through various tabs and menus and could not find a way to perform a keyword search. Is there a way? Question from user EBon...[More]