Help doing achievement code

Started by DayMan34 on

Topic category: Help with modding (Java Edition)

Last seen on 17:39, 2. Jul 2022
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
Last seen on 13:58, 21. Jan 2023
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