Help doing achievement code

Started by DayMan34 on Sun, 05/29/2022 - 01:08

Topic category: Help with modding (Java Edition)

Last seen on 01:45, 29. May 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
Last seen on 19:18, 4. Jun 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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