Package net.minecraft.registry
Class ReloadableRegistries
java.lang.Object
net.minecraft.registry.ReloadableRegistries
- Mappings:
Namespace Name named net/minecraft/registry/ReloadableRegistries
intermediary net/minecraft/class_9383
official amj
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final RegistryEntryInfo
private static final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static RegistryWrapper.WrapperLookup
concat
(RegistryWrapper.WrapperLookup first, RegistryWrapper.WrapperLookup second) private static <T> CompletableFuture
<MutableRegistry<?>> prepare
(LootDataType<T> type, RegistryOps<JsonElement> ops, ResourceManager resourceManager, Executor prepareExecutor) reload
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<Registry.PendingTagLoad<?>> pendingTagLoads, ResourceManager resourceManager, Executor prepareExecutor) private static ReloadableRegistries.ReloadResult
toResult
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, RegistryWrapper.WrapperLookup nonReloadables, List<MutableRegistry<?>> registries) private static void
validate
(RegistryWrapper.WrapperLookup registries) private static <T> void
validateLootData
(LootTableReporter reporter, LootDataType<T> lootDataType, RegistryWrapper.WrapperLookup registries) private static CombinedDynamicRegistries
<ServerDynamicRegistryType> with
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<MutableRegistry<?>> registries)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/registry/ReloadableRegistries;LOGGER:Lorg/slf4j/Logger;
intermediary field_49916
Lnet/minecraft/class_9383;field_49916:Lorg/slf4j/Logger;
official a
Lamj;a:Lorg/slf4j/Logger;
-
DEFAULT_REGISTRY_ENTRY_INFO
- Mappings:
Namespace Name Mixin selector named DEFAULT_REGISTRY_ENTRY_INFO
Lnet/minecraft/registry/ReloadableRegistries;DEFAULT_REGISTRY_ENTRY_INFO:Lnet/minecraft/registry/entry/RegistryEntryInfo;
intermediary field_49918
Lnet/minecraft/class_9383;field_49918:Lnet/minecraft/class_9248;
official b
Lamj;b:Lkc;
-
-
Constructor Details
-
ReloadableRegistries
public ReloadableRegistries()
-
-
Method Details
-
reload
public static CompletableFuture<ReloadableRegistries.ReloadResult> reload(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<Registry.PendingTagLoad<?>> pendingTagLoads, ResourceManager resourceManager, Executor prepareExecutor) - Mappings:
Namespace Name Mixin selector named reload
Lnet/minecraft/registry/ReloadableRegistries;reload(Lnet/minecraft/registry/CombinedDynamicRegistries;Ljava/util/List;Lnet/minecraft/resource/ResourceManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
intermediary method_58284
Lnet/minecraft/class_9383;method_58284(Lnet/minecraft/class_7780;Ljava/util/List;Lnet/minecraft/class_3300;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
official a
Lamj;a(Ljx;Ljava/util/List;Lavv;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
-
prepare
private static <T> CompletableFuture<MutableRegistry<?>> prepare(LootDataType<T> type, RegistryOps<JsonElement> ops, ResourceManager resourceManager, Executor prepareExecutor) - Mappings:
Namespace Name Mixin selector named prepare
Lnet/minecraft/registry/ReloadableRegistries;prepare(Lnet/minecraft/loot/LootDataType;Lnet/minecraft/registry/RegistryOps;Lnet/minecraft/resource/ResourceManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
intermediary method_58277
Lnet/minecraft/class_9383;method_58277(Lnet/minecraft/class_8490;Lnet/minecraft/class_6903;Lnet/minecraft/class_3300;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
official a
Lamj;a(Lewq;Lalx;Lavv;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
-
toResult
private static ReloadableRegistries.ReloadResult toResult(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, RegistryWrapper.WrapperLookup nonReloadables, List<MutableRegistry<?>> registries) - Mappings:
Namespace Name Mixin selector named toResult
Lnet/minecraft/registry/ReloadableRegistries;toResult(Lnet/minecraft/registry/CombinedDynamicRegistries;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Ljava/util/List;)Lnet/minecraft/registry/ReloadableRegistries$ReloadResult;
intermediary method_61245
Lnet/minecraft/class_9383;method_61245(Lnet/minecraft/class_7780;Lnet/minecraft/class_7225$class_7874;Ljava/util/List;)Lnet/minecraft/class_9383$class_9842;
official a
Lamj;a(Ljx;Ljs$a;Ljava/util/List;)Lamj$b;
-
concat
private static RegistryWrapper.WrapperLookup concat(RegistryWrapper.WrapperLookup first, RegistryWrapper.WrapperLookup second) - Mappings:
Namespace Name Mixin selector named concat
Lnet/minecraft/registry/ReloadableRegistries;concat(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary method_61244
Lnet/minecraft/class_9383;method_61244(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_7225$class_7874;
official a
Lamj;a(Ljs$a;Ljs$a;)Ljs$a;
-
validate
- Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/registry/ReloadableRegistries;validate(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary method_61243
Lnet/minecraft/class_9383;method_61243(Lnet/minecraft/class_7225$class_7874;)V
official a
Lamj;a(Ljs$a;)V
-
with
private static CombinedDynamicRegistries<ServerDynamicRegistryType> with(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<MutableRegistry<?>> registries) - Mappings:
Namespace Name Mixin selector named with
Lnet/minecraft/registry/ReloadableRegistries;with(Lnet/minecraft/registry/CombinedDynamicRegistries;Ljava/util/List;)Lnet/minecraft/registry/CombinedDynamicRegistries;
intermediary method_58287
Lnet/minecraft/class_9383;method_58287(Lnet/minecraft/class_7780;Ljava/util/List;)Lnet/minecraft/class_7780;
official a
Lamj;a(Ljx;Ljava/util/List;)Ljx;
-
validateLootData
private static <T> void validateLootData(LootTableReporter reporter, LootDataType<T> lootDataType, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named validateLootData
Lnet/minecraft/registry/ReloadableRegistries;validateLootData(Lnet/minecraft/loot/LootTableReporter;Lnet/minecraft/loot/LootDataType;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary method_58281
Lnet/minecraft/class_9383;method_58281(Lnet/minecraft/class_58;Lnet/minecraft/class_8490;Lnet/minecraft/class_7225$class_7874;)V
official a
Lamj;a(Lewu;Lewq;Ljs$a;)V
-