SpongePowered / SpongeAPI

A Minecraft plugin API
http://www.spongepowered.org/
MIT License
1.14k stars 342 forks source link

No registry for Advancements in API-8 #2299

Open thibaulthenry opened 3 years ago

thibaulthenry commented 3 years ago
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.

JBYoshi commented 3 years ago

Moving this issue to SpongeAPI.