Started by
DestroyerWT
on
Topic category: Help with Minecraft modding (Data Packs)
there are multiple biomes in the datapack, and i need the advancement to be granted for finding atleast one of the custom biomes biomes
could someone please help as to how do i do it?
Use The Procedure Feature.
Well, there are 2 ways.
First one is use procedures to trigger advancement (but only for forge/fabric mods).
Second is harder, but it's datapack feature. I would opt for Misode's datapack generator for creating datapack elements, as it's more sophisticated than the datapacks in MCreator, and copy generated advancement code to mcreator. It has way more options, however, it lacks a user-friendly graphical interface and can be a bit challenging at first, although it becomes simpler once you understand the various input options and is great tool in making a datapack or a resource pack (it has some resource pack elements too).
For advancements with multiple optional triggers, it would be enough to create several unique
criteria
entries for each biome discovery. Then, put these unique names into therequirements
section to ensure that triggering just one will activate the advancement.