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]

Is there any way in Minecraft to detect who deposited a diamond into a chest using command blocks? Is there any way in Minecraft to detect who deposited a diamond into a chest using command blocks?

Posted On: April 26, 2024
So far, I've been able to detect when a diamond is placed into a chest's inventory but how can I detect who placed that diamond?I'd prefer not to use the nearest player because someone else could pote...[More]


What benefit does Clash Of Clans upgrading walls have? What benefit does Clash Of Clans upgrading walls have?

Posted On: May 8, 2023
The cost for a level one to level two wall upgrade seems huge - 1000 gold per segment. The upgrade screen displays an increase in hitpoints but is this really noticeable? Can a wall breaker still one ...[More]


Whats the games equivalent of the force Whats the games equivalent of the force

Posted On: June 10, 2024
Not Jedi per se, but the power of that world, like Destiny 2 has light and dark, Star Wars has the Force, Harry Potter Just has magic, etc.I like playing tanky characters that use whatever the primary...[More]


Can I go back for clues later if I confront Risky Boots now? Can I go back for clues later if I confront Risky Boots now?

Posted On: April 27, 2024
Near the end of Shantae: Half Genie Hero, Uncle Mimic tells Shantae that she can either confront Risky Boots head on or search for four clues first to formulate a plan. I've been told that searching f...[More]


Can I complete Fallout 4s Home Sweet Home without enraging the Minute Men? Can I complete Fallout 4s Home Sweet Home without enraging the Minute Men?

Posted On: July 9, 2023
I want to get the perks for completing Nuka World but don't want Preston to shoot me in the face. Is this possible?. I'm playing the sort of character who wouldn't side with the Raid...[More]


Who picks your locks and disarms your traps... Who picks your locks and disarms your traps...

Posted On: May 18, 2024
. if not Astarion? I'm considering ditching him for the first time in my second run, but he is my lockpicker and trap disarmer, and Act 3 has many areas full of traps and locks. Of course, I could mak...[More]


What are the rules for mega evolutions in Pokemon go? What are the rules for mega evolutions in Pokemon go?

Posted On: January 15, 2023
The rules for Pokémon go's mega evolutions have changed over time. There doesn't seem to be any one place in the publisher, Niantic, states all the rules, mechanics and benefits for meg...[More]


How do you perform a takedown in Payday 3? How do you perform a takedown in Payday 3?

Posted On: September 10, 2023
The skill "CQC Specialist" mentions performing takedowns to gain rush, and the remainder of that line is also mostly about takedowns. How do you perform a takedown to activate these skills? ...[More]


How many people wish they could Use the killing curse on the flu flame lady How many people wish they could Use the killing curse on the flu flame lady

Posted On: August 3, 2023
I’m getting sick and tired of hearing her say You Wouldn’t believe how inconvenient travel was before I invited Floo powder.Question from user DavidCopeland276 at HogwartsLegacyGaming at...[More]


Most Frustrating Thing Ever in Hogwarts Legacy Most Frustrating Thing Ever in Hogwarts Legacy

Posted On: April 20, 2023
I have 139 out of 140 conjurations. Fairly certain I found all the butterflies and the chests in the Vivarium's so now I have to start all over again and recheck them all. Question from user...[More]