How do i make an advancement have multiple triggers

Started by DestroyerWT on

Topic category: Help with modding (Data Packs)

Last seen on 17:55, 15. Aug 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make an advancement have multiple triggers

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?

Last seen on 14:42, 30. Jun 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use The Procedure Feature.
Thu, 06/29/2023 - 17:07

Use The Procedure Feature.

Last seen on 15:21, 16. Oct 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, there are 2 ways. …
Sun, 08/27/2023 - 14:56

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 the requirements section to ensure that triggering just one will activate the advancement.