Sitelet https://github.com/SpongePowered/SpongeAPI/issues/2299
Skip to content

No registry for Advancements in API-8 #2299

Description

@thibaulthenry
SpongeVanilla version: 1.16.4-8.0.0 (commit 3753b5e3630bb22f25402d1f8452f7eb8afb7ce2
Java version: 8
Operating System: Windows 10
Plugins: Cosmos

Hey,

In the API-7 I had a way to retrieve all existing advancements, with : Sponge.getRegistry().getAllOf(Advancement.class)

But now I can't find a way to do it, there is no RegistryTypes.ADVANCEMENTS.

I need this for my per-world advancements feature.

Thanks for reading this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions