Interface DynamicRegistry<T>

Type Parameters:
T - The type of the registry entries
All Superinterfaces:
Keyed, Registry<T>

public sealed interface DynamicRegistry<T> extends Registry<T>

Holds registry data for any of the registries controlled by the server. Entries in registries should be referenced using a RegistryKey object as opposed to the record type. For example, a biome should be stored as `RegistryKey Biome`, as opposed to `Biome` directly.

Builtin registries should be accessed via a Registries instance (currently implemented by ServerProcess, or from MinecraftServer static methods.

See Also: