Interface RegistryValueSet<T>

Type Parameters:
T - registry value type
All Superinterfaces:
Iterable<T>, RegistrySet<T>

public sealed interface RegistryValueSet<T> extends Iterable<T>, RegistrySet<T>
A collection of anonymous values relating to a registry. These are values of the same type as the registry, but will not be found in the registry, hence, anonymous. Created via RegistrySet.valueSet(io.papermc.paper.registry.RegistryKey, Iterable) or in the context of a RegistryBuilder, there are methods to create them like DialogRegistryEntry.Builder.registryValueSet().
  • Method Details