1.16.5 Get list of advancement IDs

Discussion in 'Spigot Plugin Development' started by lpinfinity, Jun 8, 2021.

  1. I am currently working on a plugin that calculates and displays how many advancements a player has completed. I am currently storing a list of the advancement IDs in a string array, but this way there is no support for custom advancements to be supported without manually adding them to the string.

    Is there any way I can get a list of all the advancement IDs?
    • Like Like x 1
  2. I also had that problem.

    The solution is to use:
    Code (Java):