Uses of Interface
net.minecraft.registry.MutableRegistry
-
Uses of MutableRegistry in net.minecraft.registry
Modifier and TypeClassDescriptionclass
An implementation ofRegistry
with a default ID and value for unknown lookups.class
An implementation of a mutable registry.Modifier and TypeFieldDescriptionprivate final MutableRegistry
<T> RegistryLoader.Loader.registry
The field for theregistry
record component.private static final MutableRegistry
<MutableRegistry<?>> Registries.ROOT
Modifier and TypeFieldDescriptionprivate static final MutableRegistry
<MutableRegistry<?>> Registries.ROOT
Modifier and TypeMethodDescriptionprivate static <T,
R extends MutableRegistry<T>>
RRegistries.create
(RegistryKey<? extends Registry<T>> key, R registry, Registries.Initializer<T> initializer) Modifier and TypeMethodDescriptionRegistryLoader.Loader.registry()
Returns the value of theregistry
record component.Modifier and TypeMethodDescriptionprivate static <T> CompletableFuture
<MutableRegistry<?>> ReloadableRegistries.prepare
(LootDataType<T> type, RegistryOps<JsonElement> ops, ResourceManager resourceManager, Executor prepareExecutor) Modifier and TypeMethodDescriptionprivate static <T> RegistryOps.RegistryInfo
<T> RegistryLoader.createInfo
(MutableRegistry<T> registry) (package private) static <E> void
RegistryLoader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter, MutableRegistry<E> registry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>, Exception> loadingErrors) (package private) static <E> void
RegistryLoader.loadFromResource
(ResourceManager resourceManager, RegistryOps.RegistryInfoGetter infoGetter, MutableRegistry<E> registry, com.mojang.serialization.Decoder<E> elementDecoder, Map<RegistryKey<?>, Exception> errors) private static <E> void
RegistryLoader.parseAndAdd
(MutableRegistry<E> registry, com.mojang.serialization.Decoder<E> decoder, RegistryOps<JsonElement> ops, RegistryKey<E> key, Resource resource, RegistryEntryInfo entryInfo) Modifier and TypeMethodDescriptionprivate static ReloadableRegistries.ReloadResult
ReloadableRegistries.toResult
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, RegistryWrapper.WrapperLookup nonReloadables, List<MutableRegistry<?>> registries) private static CombinedDynamicRegistries
<ServerDynamicRegistryType> ReloadableRegistries.with
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<MutableRegistry<?>> registries) ModifierConstructorDescription(package private)
Loader
(RegistryLoader.Entry<T> entry, MutableRegistry<T> mutableRegistry, Map<RegistryKey<?>, Exception> map) -
Uses of MutableRegistry in net.minecraft.registry.tag
Modifier and TypeMethodDescriptionstatic <T> TagGroupLoader.EntrySupplier
<RegistryEntry<T>> TagGroupLoader.EntrySupplier.forInitial
(MutableRegistry<T> registry) static <T> void
TagGroupLoader.loadFromNetwork
(TagPacketSerializer.Serialized tags, MutableRegistry<T> registry) static <T> void
TagGroupLoader.loadInitial
(ResourceManager resourceManager, MutableRegistry<T> registry)