Uses of Class
net.minecraft.util.registry.MutableRegistry
-
Uses of MutableRegistry in net.minecraft.util.dynamic
Modifier and TypeMethodDescriptionprivate <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
Modifier and TypeFieldDescriptionprivate static MutableRegistry<MutableRegistry<?>>
BuiltinRegistries.ROOT
protected static MutableRegistry<MutableRegistry<?>>
Registry.ROOT
Modifier and TypeFieldDescriptionprivate static MutableRegistry<MutableRegistry<?>>
BuiltinRegistries.ROOT
protected static MutableRegistry<MutableRegistry<?>>
Registry.ROOT
Modifier and TypeMethodDescriptionprivate 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)
Modifier and TypeMethodDescription<E> MutableRegistry<E>
DynamicRegistryManager.getMutable(RegistryKey<? extends Registry<? extends E>> key)
Modifier and TypeMethodDescriptionabstract <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.Modifier and TypeMethodDescriptionstatic <T extends MutableRegistry<?>>
voidRegistry.validate(MutableRegistry<T> registry)