Class ForgeRegistries

java.lang.Object
net.minecraftforge.registries.ForgeRegistries

public class ForgeRegistries extends Object
A class that exposes static references to all vanilla and Forge registries. Created to have a central place to access the registries directly if modders need. It is still advised that if you are registering things to use RegistryEvent.Register or DeferredRegister, but queries and iterations can use this.