Uses of Class
net.minecraft.util.registry.MutableRegistry
-
Uses of MutableRegistry in net.minecraft.util.dynamic
Modifier and TypeMethodDescription<E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.load
(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) (package private) <E> com.mojang.serialization.DataResult<RegistryEntry<E>>
RegistryLoader.load
(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, com.mojang.serialization.DynamicOps<JsonElement> ops) -
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 final Map<? extends RegistryKey<? extends Registry<?>>,
? extends MutableRegistry<?>> DynamicRegistryManager.MutableImpl.mutableRegistries
private 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<? extends RegistryEntry<? extends T>> defaultValueSupplier, com.mojang.serialization.Lifecycle lifecycle) private static <T,
R extends MutableRegistry<T>>
RRegistry.create
(RegistryKey<? extends Registry<T>> key, R registry, Registry.DefaultEntryGetter<T> defaultEntryGetter, com.mojang.serialization.Lifecycle lifecycle) Modifier and TypeMethodDescriptionstatic <E> MutableRegistry<?>
DynamicRegistryManager.createSimpleRegistry
(RegistryKey<? extends Registry<?>> registryRef) default <E> MutableRegistry<E>
DynamicRegistryManager.Mutable.getMutable
(RegistryKey<? extends Registry<? extends E>> key) Modifier and TypeMethodDescriptionprivate static Map<RegistryKey<? extends Registry<?>>,
? extends MutableRegistry<?>> DynamicRegistryManager.createMutableRegistries()
<E> Optional<MutableRegistry<E>>
DynamicRegistryManager.Mutable.getOptionalMutable
(RegistryKey<? extends Registry<? extends E>> key) <E> Optional<MutableRegistry<E>>
DynamicRegistryManager.MutableImpl.getOptionalMutable
(RegistryKey<? extends Registry<? extends E>> key) ModifierConstructorDescription(package private)
MutableImpl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends MutableRegistry<?>> mutableRegistries)