net.minecraft.resources

public class RegistryReadOps<T>

extends DelegatingOps<T>

yd
net.minecraft.resources.RegistryReadOps
net.minecraft.class_5382
net.minecraft.unmapped.C_udwrczdh
net.minecraft.util.dynamic.RegistryOps
net.minecraft.src.C_5257_
net.minecraft.resources.RegistryReadOps

Field summary

Modifier and TypeField
private final RegistryResourceAccess
b
resources
field_26738
f_qjtxaaqw
entryLoader
f_135635_
private final RegistryAccess
c
registryAccess
field_25511
f_exxsxahw
registryManager
f_179860_
private final Map<ResourceKey<? extends Registry<?>>, RegistryReadOps$ReadCache<?>>
d
readCache
field_25512
f_bdfrgrbl
valueHolders
f_135637_
private final RegistryReadOps<com.google.gson.JsonElement>
e
jsonOps
field_26739
f_vytoohpr
entryOps
f_135638_

Constructor summary

ModifierConstructor
private (com.mojang.serialization.DynamicOps<T> delegate, RegistryResourceAccess entryLoader, RegistryAccess registryManager, IdentityHashMap<ResourceKey<? extends Registry<?>>, RegistryReadOps$ReadCache<?>> valueHolders)

Method summary

Modifier and TypeMethod
public static <T> RegistryReadOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, afk arg1, gy arg2)
createAndLoad(com.mojang.serialization.DynamicOps<T> arg0, ResourceManager arg1, RegistryAccess arg2)
method_36574(com.mojang.serialization.DynamicOps<T> arg0, class_3300 arg1, class_5455 arg2)
m_ezvmzsgh(com.mojang.serialization.DynamicOps<T> arg0, C_tmnrpasf arg1, C_wqxmvzdq arg2)
ofLoaded(com.mojang.serialization.DynamicOps<T> ops, ResourceManager resourceManager, DynamicRegistryManager registryManager)
m_179866_(com.mojang.serialization.DynamicOps<T> p_179867_, C_77_ p_179868_, C_4706_ p_179869_)
public static <T> RegistryReadOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, ye arg1, gy arg2)
createAndLoad(com.mojang.serialization.DynamicOps<T> arg0, RegistryResourceAccess arg1, RegistryAccess arg2)
method_36575(com.mojang.serialization.DynamicOps<T> arg0, class_5506 arg1, class_5455 arg2)
m_prnfyxdy(com.mojang.serialization.DynamicOps<T> arg0, C_nyvkclsy arg1, C_wqxmvzdq arg2)
ofLoaded(com.mojang.serialization.DynamicOps<T> ops, EntryLoader entryLoader, DynamicRegistryManager registryManager)
m_195841_(com.mojang.serialization.DynamicOps<T> p_195842_, C_183123_ p_195843_, C_4706_ p_195844_)
public static <T> RegistryReadOps<T>
b(com.mojang.serialization.DynamicOps<T> arg0, afk arg1, gy arg2)
create(com.mojang.serialization.DynamicOps<T> arg0, ResourceManager arg1, RegistryAccess arg2)
method_29753(com.mojang.serialization.DynamicOps<T> arg0, class_3300 arg1, class_5455 arg2)
m_tvallxfl(com.mojang.serialization.DynamicOps<T> arg0, C_tmnrpasf arg1, C_wqxmvzdq arg2)
of(com.mojang.serialization.DynamicOps<T> delegate, ResourceManager resourceManager, DynamicRegistryManager registryManager)
m_179882_(com.mojang.serialization.DynamicOps<T> p_179883_, C_77_ p_179884_, C_4706_ p_179885_)
public static <T> RegistryReadOps<T>
b(com.mojang.serialization.DynamicOps<T> arg0, ye arg1, gy arg2)
create(com.mojang.serialization.DynamicOps<T> arg0, RegistryResourceAccess arg1, RegistryAccess arg2)
method_31150(com.mojang.serialization.DynamicOps<T> arg0, class_5506 arg1, class_5455 arg2)
m_qrkedbwo(com.mojang.serialization.DynamicOps<T> arg0, C_nyvkclsy arg1, C_wqxmvzdq arg2)
of(com.mojang.serialization.DynamicOps<T> delegate, EntryLoader entryLoader, DynamicRegistryManager registryManager)
m_195867_(com.mojang.serialization.DynamicOps<T> p_195868_, C_183123_ p_195869_, C_4706_ p_195870_)
protected <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Supplier<E>, T>>
a(T arg0, yg<? extends gx<E>> arg1, com.mojang.serialization.Codec<E> arg2, boolean arg3)
decodeElement(T arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2, boolean arg3)
method_29759(T arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2, boolean arg3)
m_cjiolydj(T arg0, C_xhhleach<? extends C_tqxyjqsk<E>> arg1, com.mojang.serialization.Codec<E> arg2, boolean arg3)
decodeOrId(T arg0, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec, boolean allowInlineDefinitions)
m_135677_(T p_135679_, C_5264_<? extends C_4705_<E>> p_135680_, com.mojang.serialization.Codec<E> p_135681_, boolean arg3)
public <E> com.mojang.serialization.DataResult<MappedRegistry<E>>
a(gs<E> arg0, yg<? extends gx<E>> arg1, com.mojang.serialization.Codec<E> arg2)
decodeElements(MappedRegistry<E> arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2)
method_29755(class_2370<E> arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2)
m_oahfbjzp(C_secmvxxe<E> arg0, C_xhhleach<? extends C_tqxyjqsk<E>> arg1, com.mojang.serialization.Codec<E> arg2)
loadToRegistry(SimpleRegistry<E> registry, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec)
m_135662_(C_4700_<E> p_135664_, C_5264_<? extends C_4705_<E>> p_135665_, com.mojang.serialization.Codec<E> arg2)
private <E> com.mojang.serialization.DataResult<Supplier<E>>
a(yg<? extends gx<E>> arg0, hd<E> arg1, com.mojang.serialization.Codec<E> arg2, yg<E> arg3)
readAndRegisterElement(ResourceKey<? extends Registry<E>> arg0, WritableRegistry<E> arg1, com.mojang.serialization.Codec<E> arg2, ResourceKey<E> arg3)
method_29763(class_5321<? extends class_2378<E>> arg0, class_2385<E> arg1, com.mojang.serialization.Codec<E> arg2, class_5321<E> arg3)
m_iuwpoebf(C_xhhleach<? extends C_tqxyjqsk<E>> arg0, C_eexxncvi<E> arg1, com.mojang.serialization.Codec<E> arg2, C_xhhleach<E> arg3)
readSupplier(RegistryKey<? extends Registry<E>> arg0, MutableRegistry<E> arg1, com.mojang.serialization.Codec<E> codec, RegistryKey<E> arg3)
m_195862_(C_5264_<? extends C_4705_<E>> p_195864_, C_4714_<E> p_195865_, com.mojang.serialization.Codec<E> p_195866_, C_5264_<E> arg3)
private static <E> Supplier<E>
a(hd<E> arg0, yg<E> arg1)
createPlaceholderGetter(WritableRegistry<E> arg0, ResourceKey<E> arg1)
method_39744(class_2385<E> arg0, class_5321<E> arg1)
m_nkfbfiyc(C_eexxncvi<E> arg0, C_xhhleach<E> arg1)
createLazyEntrySupplier(MutableRegistry<E> registry, RegistryKey<E> key)
m_195850_(C_4714_<E> p_195851_, C_5264_<E> p_195852_)
private static <E> Supplier<E>
a(gx<E> arg0, yg<E> arg1)
createRegistryGetter(Registry<E> arg0, ResourceKey<E> arg1)
method_39743(class_2378<E> arg0, class_5321<E> arg1)
m_esybpumc(C_tqxyjqsk<E> arg0, C_xhhleach<E> arg1)
createEntrySupplier(Registry<E> registry, RegistryKey<E> key)
m_195845_(C_4705_<E> p_195846_, C_5264_<E> p_195847_)
private <E> RegistryReadOps$ReadCache<E>
b(yg<? extends gx<E>> arg0)
readCache(ResourceKey<? extends Registry<E>> arg0)
method_29761(class_5321<? extends class_2378<E>> arg0)
m_lpqvvscg(C_xhhleach<? extends C_tqxyjqsk<E>> arg0)
getValueHolder(RegistryKey<? extends Registry<E>> registryRef)
m_135699_(C_5264_<? extends C_4705_<E>> arg0)
protected <E> com.mojang.serialization.DataResult<Registry<E>>
a(yg<? extends gx<E>> arg0)
registry(ResourceKey<? extends Registry<E>> arg0)
method_31152(class_5321<? extends class_2378<E>> arg0)
m_oteihaak(C_xhhleach<? extends C_tqxyjqsk<E>> arg0)
getRegistry(RegistryKey<? extends Registry<E>> key)
m_135682_(C_5264_<? extends C_4705_<E>> arg0)