Started by
CT Himself
on
Topic category: Help with Minecraft modding (Java Edition)
I have a mod I'm making where you collect structure themed badges by crafting them with items from said structure (eg the nether fortress badge is created using nether wart, nether bricks, and a blaze rod). There's an achievement I am having trouble with though, and that's for collecting every badge. I have no clue how to create achievements that require you to have multiple different items to unlock
You could set up a logic advancement for each badge the player gets.
Logic advancements are super useful for a lot of reasons and are pretty easy to set up; just disable "Show toast when completed" and "Announce to chat when completed" and enable "Hide advancement display". This way, the advancement is invisible to the player and isn't even notified when the get it, but the game detects that the person has it.
Then set up a procedure with the "Player completes advancement" that checks if the player has all of the logic advancements for each badge via If-Then and AND blocks, and if the player does indeed have them all, then the real advancement is granted.
Hope that all makes sense. It should work, I had a really similar thing with my mod.