Uses of Class
net.minecraft.util.registry.MutableRegistry
-
Uses of MutableRegistry in net.minecraft.util.dynamic
Modifier and TypeMethodDescriptionprivate static <E> Supplier<E>
RegistryOps.method_39744
(MutableRegistry<E> mutableRegistry, RegistryKey<E> registryKey) private <E> com.mojang.serialization.DataResult<Supplier<E>>
RegistryOps.readSupplier
(RegistryKey<? extends Registry<E>> registryKey, MutableRegistry<E> mutableRegistry, com.mojang.serialization.Codec<E> codec, RegistryKey<E> registryKey2) Reads a supplier for a registry element. -
Uses of MutableRegistry in net.minecraft.util.registry
Modifier and TypeFieldDescriptionprivate static final MutableRegistry<MutableRegistry<?>>
BuiltinRegistries.ROOT
protected static final MutableRegistry<MutableRegistry<?>>
Registry.ROOT
Modifier and TypeFieldDescriptionprivate static final MutableRegistry<MutableRegistry<?>>
BuiltinRegistries.ROOT
protected static final 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)