Package net.minecraft.registry
Class RegistryBuilder
java.lang.Object
net.minecraft.registry.RegistryBuilder
- Mappings:
Namespace Name named net/minecraft/registry/RegistryBuilder
intermediary net/minecraft/class_7877
official jz
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static interface
private static final record
private static class
static final record
private static final record
private static class
private static final record
private static final record
private static final record
private static class
private static class
private static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> RegistryBuilder
addRegistry
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) <T> RegistryBuilder
addRegistry
(RegistryKey<? extends Registry<T>> registryRef, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) private <T> RegistryWrapper.Impl
<T> applyPatches
(RegistryEntryOwner<T> owner, RegistryCloner.CloneableRegistries cloneableRegistries, RegistryKey<? extends Registry<? extends T>> registryRef, RegistryWrapper.WrapperLookup patches, RegistryWrapper.WrapperLookup base, MutableObject<RegistryWrapper.WrapperLookup> lazyWrapper) private RegistryBuilder.Registries
createBootstrappedRegistries
(DynamicRegistryManager registryManager) private RegistryWrapper.WrapperLookup
createFullWrapperLookup
(DynamicRegistryManager registryManager, RegistryWrapper.WrapperLookup base, RegistryCloner.CloneableRegistries cloneableRegistries, Map<RegistryKey<? extends Registry<?>>, RegistryBuilder.InitializedRegistry<?>> initializedRegistries, RegistryWrapper.WrapperLookup patches) (package private) static <T> RegistryWrapper.Impl
<T> createWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryEntryOwner<T> owner, Map<RegistryKey<T>, RegistryEntry.Reference<T>> entries) createWrapperLookup
(DynamicRegistryManager registryManager) createWrapperLookup
(DynamicRegistryManager baseRegistryManager, RegistryWrapper.WrapperLookup wrapperLookup, RegistryCloner.CloneableRegistries cloneableRegistries) private static RegistryWrapper.WrapperLookup
createWrapperLookup
(RegistryBuilder.AnyOwner entryOwner, DynamicRegistryManager registryManager, Stream<RegistryWrapper.Impl<?>> wrappers) (package private) static <T> RegistryEntryLookup
<T> toLookup
(RegistryWrapper.Impl<T> wrapper)
-
Field Details
-
registries
- Mappings:
Namespace Name Mixin selector named registries
Lnet/minecraft/registry/RegistryBuilder;registries:Ljava/util/List;
intermediary field_40941
Lnet/minecraft/class_7877;field_40941:Ljava/util/List;
official a
Ljz;a:Ljava/util/List;
-
-
Constructor Details
-
RegistryBuilder
public RegistryBuilder()
-
-
Method Details
-
toLookup
- Mappings:
Namespace Name Mixin selector named toLookup
Lnet/minecraft/registry/RegistryBuilder;toLookup(Lnet/minecraft/registry/RegistryWrapper$Impl;)Lnet/minecraft/registry/RegistryEntryLookup;
intermediary method_46778
Lnet/minecraft/class_7877;method_46778(Lnet/minecraft/class_7225$class_7226;)Lnet/minecraft/class_7871;
official a
Ljz;a(Ljl$b;)Ljk;
-
createWrapper
static <T> RegistryWrapper.Impl<T> createWrapper(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryEntryOwner<T> owner, Map<RegistryKey<T>, RegistryEntry.Reference<T>> entries) - Mappings:
Namespace Name Mixin selector named createWrapper
Lnet/minecraft/registry/RegistryBuilder;createWrapper(Lnet/minecraft/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;Lnet/minecraft/registry/entry/RegistryEntryOwner;Ljava/util/Map;)Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary method_55283
Lnet/minecraft/class_7877;method_55283(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lnet/minecraft/class_7876;Ljava/util/Map;)Lnet/minecraft/class_7225$class_7226;
official a
Ljz;a(Lakj;Lcom/mojang/serialization/Lifecycle;Ljm;Ljava/util/Map;)Ljl$b;
-
addRegistry
public <T> RegistryBuilder addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) - Mappings:
Namespace Name Mixin selector named addRegistry
Lnet/minecraft/registry/RegistryBuilder;addRegistry(Lnet/minecraft/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;Lnet/minecraft/registry/RegistryBuilder$BootstrapFunction;)Lnet/minecraft/registry/RegistryBuilder;
intermediary method_46776
Lnet/minecraft/class_7877;method_46776(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lnet/minecraft/class_7877$class_7882;)Lnet/minecraft/class_7877;
official a
Ljz;a(Lakj;Lcom/mojang/serialization/Lifecycle;Ljz$i;)Ljz;
-
addRegistry
public <T> RegistryBuilder addRegistry(RegistryKey<? extends Registry<T>> registryRef, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) - Mappings:
Namespace Name Mixin selector named addRegistry
Lnet/minecraft/registry/RegistryBuilder;addRegistry(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryBuilder$BootstrapFunction;)Lnet/minecraft/registry/RegistryBuilder;
intermediary method_46777
Lnet/minecraft/class_7877;method_46777(Lnet/minecraft/class_5321;Lnet/minecraft/class_7877$class_7882;)Lnet/minecraft/class_7877;
official a
Ljz;a(Lakj;Ljz$i;)Ljz;
-
createBootstrappedRegistries
private RegistryBuilder.Registries createBootstrappedRegistries(DynamicRegistryManager registryManager) - Mappings:
Namespace Name Mixin selector named createBootstrappedRegistries
Lnet/minecraft/registry/RegistryBuilder;createBootstrappedRegistries(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/registry/RegistryBuilder$Registries;
intermediary method_46784
Lnet/minecraft/class_7877;method_46784(Lnet/minecraft/class_5455;)Lnet/minecraft/class_7877$class_7878;
official b
Ljz;b(Ljx;)Ljz$b;
-
createWrapperLookup
private static RegistryWrapper.WrapperLookup createWrapperLookup(RegistryBuilder.AnyOwner entryOwner, DynamicRegistryManager registryManager, Stream<RegistryWrapper.Impl<?>> wrappers) - Mappings:
Namespace Name Mixin selector named createWrapperLookup
Lnet/minecraft/registry/RegistryBuilder;createWrapperLookup(Lnet/minecraft/registry/RegistryBuilder$AnyOwner;Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary method_55290
Lnet/minecraft/class_7877;method_55290(Lnet/minecraft/class_7877$class_7879;Lnet/minecraft/class_5455;Ljava/util/stream/Stream;)Lnet/minecraft/class_7225$class_7874;
official a
Ljz;a(Ljz$m;Ljx;Ljava/util/stream/Stream;)Ljl$a;
-
createWrapperLookup
- Mappings:
Namespace Name Mixin selector named createWrapperLookup
Lnet/minecraft/registry/RegistryBuilder;createWrapperLookup(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary method_46780
Lnet/minecraft/class_7877;method_46780(Lnet/minecraft/class_5455;)Lnet/minecraft/class_7225$class_7874;
official a
Ljz;a(Ljx;)Ljl$a;
-
createFullWrapperLookup
private RegistryWrapper.WrapperLookup createFullWrapperLookup(DynamicRegistryManager registryManager, RegistryWrapper.WrapperLookup base, RegistryCloner.CloneableRegistries cloneableRegistries, Map<RegistryKey<? extends Registry<?>>, RegistryBuilder.InitializedRegistry<?>> initializedRegistries, RegistryWrapper.WrapperLookup patches) - Mappings:
Namespace Name Mixin selector named createFullWrapperLookup
Lnet/minecraft/registry/RegistryBuilder;createFullWrapperLookup(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;Ljava/util/Map;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary method_55289
Lnet/minecraft/class_7877;method_55289(Lnet/minecraft/class_5455;Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_8990$class_8991;Ljava/util/Map;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_7225$class_7874;
official a
Ljz;a(Ljx;Ljl$a;Ljb$a;Ljava/util/Map;Ljl$a;)Ljl$a;
-
applyPatches
private <T> RegistryWrapper.Impl<T> applyPatches(RegistryEntryOwner<T> owner, RegistryCloner.CloneableRegistries cloneableRegistries, RegistryKey<? extends Registry<? extends T>> registryRef, RegistryWrapper.WrapperLookup patches, RegistryWrapper.WrapperLookup base, MutableObject<RegistryWrapper.WrapperLookup> lazyWrapper) - Mappings:
Namespace Name Mixin selector named applyPatches
Lnet/minecraft/registry/RegistryBuilder;applyPatches(Lnet/minecraft/registry/entry/RegistryEntryOwner;Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lorg/apache/commons/lang3/mutable/MutableObject;)Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary method_55286
Lnet/minecraft/class_7877;method_55286(Lnet/minecraft/class_7876;Lnet/minecraft/class_8990$class_8991;Lnet/minecraft/class_5321;Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7225$class_7874;Lorg/apache/commons/lang3/mutable/MutableObject;)Lnet/minecraft/class_7225$class_7226;
official a
Ljz;a(Ljm;Ljb$a;Lakj;Ljl$a;Ljl$a;Lorg/apache/commons/lang3/mutable/MutableObject;)Ljl$b;
-
createWrapperLookup
public RegistryBuilder.FullPatchesRegistriesPair createWrapperLookup(DynamicRegistryManager baseRegistryManager, RegistryWrapper.WrapperLookup wrapperLookup, RegistryCloner.CloneableRegistries cloneableRegistries) - Mappings:
Namespace Name Mixin selector named createWrapperLookup
Lnet/minecraft/registry/RegistryBuilder;createWrapperLookup(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;)Lnet/minecraft/registry/RegistryBuilder$FullPatchesRegistriesPair;
intermediary method_46781
Lnet/minecraft/class_7877;method_46781(Lnet/minecraft/class_5455;Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_8990$class_8991;)Lnet/minecraft/class_7877$class_8993;
official a
Ljz;a(Ljx;Ljl$a;Ljb$a;)Ljz$g;
-