net.minecraft.resources

public class RegistryLoader

aax
net.minecraft.resources.RegistryLoader
net.minecraft.class_6900
net.minecraft.util.dynamic.RegistryLoader
net.minecraft.src.C_203252_
net.minecraft.resources.RegistryLoader

Field summary

Modifier and TypeField
private final RegistryResourceAccess
a
resources
field_36485
entryLoader
f_206750_
private final Map<ResourceKey<? extends Registry<?>>, RegistryLoader$ReadCache<?>>
b
readCache
field_36486
valueHolders
f_206751_

Constructor summary

ModifierConstructor
(RegistryResourceAccess entryLoader)

Method summary

Modifier and TypeMethod
public <E> com.mojang.serialization.DataResult<? extends Registry<E>>
a(ht<E> arg0, aba<? extends hm<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg3)
overrideRegistryFromResources(WritableRegistry<E> arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg3)
method_40404(class_2385<E> arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg3)
load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops)
m_206762_(C_4714_<E> p_206764_, C_5264_<? extends C_4705_<E>> p_206765_, com.mojang.serialization.Codec<E> p_206766_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg3)
<E> com.mojang.serialization.DataResult<Holder<E>>
a(ht<E> arg0, aba<? extends hm<E>> arg1, com.mojang.serialization.Codec<E> arg2, aba<E> arg3, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg4)
overrideElementFromResources(WritableRegistry<E> arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2, ResourceKey<E> arg3, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg4)
method_40405(class_2385<E> arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2, class_5321<E> arg3, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg4)
load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops)
m_206767_(C_4714_<E> p_206769_, C_5264_<? extends C_4705_<E>> p_206770_, com.mojang.serialization.Codec<E> p_206771_, C_5264_<E> p_206772_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg4)
private <E> com.mojang.serialization.DataResult<Holder<E>>
a(ht<E> arg0, aba<? extends hm<E>> arg1, com.mojang.serialization.Codec<E> arg2, aba<E> arg3, Optional<aaz$a<E>> arg4, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg5)
overrideElementFromResources(WritableRegistry<E> arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2, ResourceKey<E> arg3, Optional<RegistryResourceAccess$EntryThunk<E>> arg4, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg5)
method_42082(class_2385<E> arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2, class_5321<E> arg3, Optional<class_5506$class_7236<E>> arg4, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg5)
load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, Optional<EntryLoader$Parseable<E>> parseable, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops)
m_214228_(C_4714_<E> p_214230_, C_5264_<? extends C_4705_<E>> p_214231_, com.mojang.serialization.Codec<E> p_214232_, C_5264_<E> p_214233_, Optional<C_183123_$C_212928_<E>> p_214234_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg5)
private <E> RegistryLoader$ReadCache<E>
a(aba<? extends hm<E>> arg0)
readCache(ResourceKey<? extends Registry<E>> arg0)
method_40406(class_5321<? extends class_2378<E>> arg0)
getOrCreateValueHolder(RegistryKey<? extends Registry<E>> registryRef)
m_206773_(C_5264_<? extends C_4705_<E>> arg0)
public RegistryLoader$Bound
a(hn$e arg0)
bind(RegistryAccess$Writable arg0)
method_40402(class_5455$class_6893 arg0)
createAccess(DynamicRegistryManager$Mutable dynamicRegistryManager)
m_206757_(C_4706_$C_203243_ arg0)