Uses of Class
net.minecraft.util.registry.MutableRegistry
Package | Description |
---|---|
net.minecraft.util.dynamic | |
net.minecraft.util.registry |
-
Uses of MutableRegistry in net.minecraft.util.dynamic
Methods in net.minecraft.util.dynamic with parameters of type MutableRegistry Modifier and Type Method Description private <E> com.mojang.serialization.DataResult<Supplier<E>>
RegistryOps. readSupplier(RegistryKey<? extends Registry<E>> key, MutableRegistry<E> registry, com.mojang.serialization.Codec<E> codec, Identifier elementId)
Reads a supplier for a registry element. -
Uses of MutableRegistry in net.minecraft.util.registry
Subclasses of MutableRegistry in net.minecraft.util.registry Modifier and Type Class Description class
DefaultedRegistry<T>
class
SimpleRegistry<T>
Fields in net.minecraft.util.registry declared as MutableRegistry Modifier and Type Field Description private static MutableRegistry<MutableRegistry<?>>
BuiltinRegistries. ROOT
protected static MutableRegistry<MutableRegistry<?>>
Registry. ROOT
Fields in net.minecraft.util.registry with type parameters of type MutableRegistry Modifier and Type Field Description private static MutableRegistry<MutableRegistry<?>>
BuiltinRegistries. ROOT
protected static MutableRegistry<MutableRegistry<?>>
Registry. ROOT
Methods in net.minecraft.util.registry with type parameters of type MutableRegistry Modifier and Type Method Description private static <T, R extends MutableRegistry<T>>
RBuiltinRegistries. addRegistry(RegistryKey<? extends Registry<T>> registryRef, R registry, Supplier<T> defaultValueSupplier, com.mojang.serialization.Lifecycle lifecycle)
private static <T, R extends MutableRegistry<T>>
RRegistry. create(RegistryKey<? extends Registry<T>> key, R registry, Supplier<T> defaultEntry, com.mojang.serialization.Lifecycle lifecycle)
static <T extends MutableRegistry<?>>
voidRegistry. validate(MutableRegistry<T> registry)
Methods in net.minecraft.util.registry that return MutableRegistry Modifier and Type Method Description <E> MutableRegistry<E>
DynamicRegistryManager. getMutable(RegistryKey<? extends Registry<? extends E>> key)
Methods in net.minecraft.util.registry that return types with arguments of type MutableRegistry Modifier and Type Method Description abstract <E> Optional<MutableRegistry<E>>
DynamicRegistryManager. getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key)
Retrieves a registry optionally from this manager.<E> Optional<MutableRegistry<E>>
DynamicRegistryManager.Impl. getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key)
Retrieves a registry optionally from this manager.Methods in net.minecraft.util.registry with parameters of type MutableRegistry Modifier and Type Method Description static <T extends MutableRegistry<?>>
voidRegistry. validate(MutableRegistry<T> registry)