Help doing achievement code

Started by DayMan34 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help doing achievement code
Sun, 05/29/2022 - 01:10 (edited)

I'm trying to make an achievement where you need all the music discs to get it. But, I have no idea how to code it. Plz help!

Edited by DayMan34 on Sun, 05/29/2022 - 01:10
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its simple just check every…
Fri, 06/03/2022 - 02:51

its simple just check every new item for a disk and check if you already found it if not then add the ID to the player World persistant variable then just read every 2 digits and if it is totally complete, give the player the achivement otherwise add it to the list