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 aku
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final RegistryEntryInfo
private static final Gson
private static final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static CombinedDynamicRegistries
<ServerDynamicRegistryType> apply
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<MutableRegistry<?>> registries) private static <T> CompletableFuture
<MutableRegistry<?>> prepare
(LootDataType<T> type, RegistryOps<JsonElement> ops, ResourceManager resourceManager, Executor prepareExecutor) reload
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, ResourceManager resourceManager, Executor prepareExecutor) private static <T> void
validateLootData
(LootTableReporter reporter, LootDataType<T> lootDataType, DynamicRegistryManager registryManager) 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
Laku;a:Lorg/slf4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector named GSON
Lnet/minecraft/registry/ReloadableRegistries;GSON:Lcom/google/gson/Gson;
intermediary field_49917
Lnet/minecraft/class_9383;field_49917:Lcom/google/gson/Gson;
official b
Laku;b:Lcom/google/gson/Gson;
-
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 c
Laku;c:Ljv;
-
-
Constructor Details
-
ReloadableRegistries
public ReloadableRegistries()
-
-
Method Details
-
reload
public static CompletableFuture<CombinedDynamicRegistries<ServerDynamicRegistryType>> reload(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, ResourceManager resourceManager, Executor prepareExecutor) - Mappings:
Namespace Name Mixin selector named reload
Lnet/minecraft/registry/ReloadableRegistries;reload(Lnet/minecraft/registry/CombinedDynamicRegistries;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;Lnet/minecraft/class_3300;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
official a
Laku;a(Ljq;Latw;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
Laku;a(Leqy;Laki;Latw;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
-
apply
private static CombinedDynamicRegistries<ServerDynamicRegistryType> apply(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<MutableRegistry<?>> registries) - Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/registry/ReloadableRegistries;apply(Lnet/minecraft/registry/CombinedDynamicRegistries;Ljava/util/List;)Lnet/minecraft/registry/CombinedDynamicRegistries;
intermediary method_58285
Lnet/minecraft/class_9383;method_58285(Lnet/minecraft/class_7780;Ljava/util/List;)Lnet/minecraft/class_7780;
official a
Laku;a(Ljq;Ljava/util/List;)Ljq;
-
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 b
Laku;b(Ljq;Ljava/util/List;)Ljq;
-
validateLootData
private static <T> void validateLootData(LootTableReporter reporter, LootDataType<T> lootDataType, DynamicRegistryManager registryManager) - Mappings:
Namespace Name Mixin selector named validateLootData
Lnet/minecraft/registry/ReloadableRegistries;validateLootData(Lnet/minecraft/loot/LootTableReporter;Lnet/minecraft/loot/LootDataType;Lnet/minecraft/registry/DynamicRegistryManager;)V
intermediary method_58281
Lnet/minecraft/class_9383;method_58281(Lnet/minecraft/class_58;Lnet/minecraft/class_8490;Lnet/minecraft/class_5455;)V
official a
Laku;a(Lerc;Leqy;Ljx;)V
-