mojira.dev
MC-201321

Custom Biome Not Working

After creating a custom biome along with several other additional pieces of custom data for a data pack I'm trying to put together for use in an adventure map I plan on making, I decided to test the biome's generation and spawning in a world.

After a few minutes, I decided it would be faster to find my biome if I used the /locatebiome command, but when I attempted to do so (running /locatebiome kohreth:cursed_lands), the custom biome wasn't recognized. I double-checked to make sure I'd loaded my data pack before creating the world, and even attempted creating a second world with it loaded, reversing the load order of the default pack and my data pack, and even doing the same thing using the /datapack and /reload commands in both load orders, just to be sure. With nothing working, I attempted to create a single-biome world to test it in, and my custom biome wasn't listed among the options.

Among the attached files are the following (many of them will be attached as <name>-<number>.<fileExtension> due to my updating them with new versions and having previously already had the old versions uploaded, but all of them are saved in the data pack files exactly as I have them listed here): minecraft/dimension_type/overworld.json (attachment overworld-5.json), minecraft/tags/functions/tick.json, minecraft/tags/functions/load.json, minecraft/worldgen/noise_settings/overworld.json (attachment overworld-6.json), kohreth/functions/spec_spawn_check_init.mcfunction, kohreth/functions/special_spawn_check.mcfunction, kohreth/functions/special_spawning.mcfunction, kohreth/functions/new_join.mcfunction, kohreth/functions/initiate_equip.mcfunction, kohreth/predicates/in_cursed.json, kohreth/worldgen/configured_feature/cursed_tree.json, kohreth/worldgen/configured_surface_builder/desolation.json, and kohreth/worldgen/biome/cursed_lands.json

Side note: The functions are there for automated and immediate customization for the purposes of my planned adventure map's setting; the functions spec_spawn_check_init.mcfunction, special_spawn_check.mcfunction, and special_spawning.mcfunction are to customize the biome spawns of the cursed lands (partly to make the Wither Skeletons I want to spawn in it tougher than their natural spawns and the Strays to be melee, and partly because I don't expect Piglin Brutes or Ravagers would be able to spawn naturally at all even if I were to add them directly to the spawn pool of the biome), while new_join.mcfunction and initiate_equip.mcfunction are for setting the players up at the very beginning with starting equipment they should have.

Attachments

Comments 6

Not a bug

The biome is located within a Minecraft folder, so you'll have to run /locatebiome minecraft/kohreth:cursed_lands

@Will Demetrius Yoward

First thing: Even if the biome is not located in the minecraft namespace?

Second thing: That also doesn't address the issue that the biome won't show up as an option when creating a single biome world.

Also, in my custom predicate (that being kohreth:in_cursed) referring to the biome as "kohreth:cursed_lands" has so far worked for negated predicate target selector arguments (i.e. @e[type=cow,predicate=!kohreth:in_cursed]), but I'm yet unable to find out if the direct matching is functional until I can get an instance of the biome to generate.

Update: Added screenshots as proof of my issue.

The folder structure changed, does it work when you update your pack?

i haven't read it because tl;dr, but i have a datapack with accurate folder structure to the new one and i have a biome that has no issues and the nether folder has no issues and i copied the soul sand valley thing for it and pasted it but renamed the soul sand valley to my biome name and it won't generate.

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Bobby Griffs

(Unassigned)

Unconfirmed

(Unassigned)

world-generation

1.16.3

Retrieved