Interface RegistryKey<T>

Type Parameters:
T - the value type
All Superinterfaces:
net.kyori.adventure.key.Keyed

public sealed interface RegistryKey<T> extends net.kyori.adventure.key.Keyed
Identifier for a specific registry. For use with TypedKey and the registry modification API.

There are 2 types of registries, identified as "built-in" or "data-driven". The former are not changeable by datapacks (which doesn't necessarily mean they aren't changeable in the API) and are loaded first. "Data-driven" registries are all created by reading in data from the vanilla and other datapacks.