net.minecraft.resources

public class RegistryReadOps<T>

extends DelegatingOps<T>

wt
net.minecraft.resources.RegistryReadOps
net.minecraft.class_5382
net.minecraft.util.dynamic.RegistryOps
net.minecraft.src.C_5257_
net.minecraft.resources.RegistryReadOps

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
b
LOGGER
field_25509
LOGGER
f_135634_
private static final String
c
JSON
field_33379
JSON_FILE_EXTENSION
f_179859_
private final RegistryReadOps$ResourceAccess
d
resources
field_26738
entryLoader
f_135635_
private final RegistryAccess
e
registryAccess
field_25511
registryManager
f_179860_
private final Map<ResourceKey<? extends Registry<?>>, RegistryReadOps$ReadCache<?>>
f
readCache
field_25512
valueHolders
f_135637_
private final RegistryReadOps<com.google.gson.JsonElement>
g
jsonOps
field_26739
entryOps
f_135638_

Constructor summary

ModifierConstructor
private (com.mojang.serialization.DynamicOps<T> delegate, RegistryReadOps$ResourceAccess 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, adt arg1, gx 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)
ofLoaded(com.mojang.serialization.DynamicOps<T> arg0, ResourceManager arg1, 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, wt$b arg1, gx arg2)
createAndLoad(com.mojang.serialization.DynamicOps<T> arg0, RegistryReadOps$ResourceAccess arg1, RegistryAccess arg2)
method_36575(com.mojang.serialization.DynamicOps<T> arg0, class_5382$class_5506 arg1, class_5455 arg2)
ofLoaded(com.mojang.serialization.DynamicOps<T> arg0, RegistryOps$EntryLoader arg1, DynamicRegistryManager registryManager)
m_179870_(com.mojang.serialization.DynamicOps<T> p_179871_, C_5257_$C_5260_ p_179872_, C_4706_ p_179873_)
public static <T> RegistryReadOps<T>
b(com.mojang.serialization.DynamicOps<T> arg0, adt arg1, gx 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)
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, wt$b arg1, gx arg2)
create(com.mojang.serialization.DynamicOps<T> arg0, RegistryReadOps$ResourceAccess arg1, RegistryAccess arg2)
method_31150(com.mojang.serialization.DynamicOps<T> arg0, class_5382$class_5506 arg1, class_5455 arg2)
of(com.mojang.serialization.DynamicOps<T> delegate, RegistryOps$EntryLoader entryLoader, DynamicRegistryManager registryManager)
m_179886_(com.mojang.serialization.DynamicOps<T> p_179887_, C_5257_$C_5260_ p_179888_, C_4706_ p_179889_)
protected <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Supplier<E>, T>>
a(T arg0, wv<? extends gw<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)
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(gr<E> arg0, wv<? extends gw<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)
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(wv<? extends gw<E>> arg0, hc<E> arg1, com.mojang.serialization.Codec<E> arg2, ww arg3)
readAndRegisterElement(ResourceKey<? extends Registry<E>> arg0, WritableRegistry<E> arg1, com.mojang.serialization.Codec<E> arg2, ResourceLocation arg3)
method_29763(class_5321<? extends class_2378<E>> arg0, class_2385<E> arg1, com.mojang.serialization.Codec<E> arg2, class_2960 arg3)
readSupplier(RegistryKey<? extends Registry<E>> key, MutableRegistry<E> registry, com.mojang.serialization.Codec<E> codec, Identifier elementId)
m_135689_(C_5264_<? extends C_4705_<E>> p_135691_, C_4714_<E> p_135692_, com.mojang.serialization.Codec<E> p_135693_, C_5265_ arg3)
private <E> RegistryReadOps$ReadCache<E>
b(wv<? extends gw<E>> arg0)
readCache(ResourceKey<? extends Registry<E>> arg0)
method_29761(class_5321<? extends class_2378<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(wv<? extends gw<E>> arg0)
registry(ResourceKey<? extends Registry<E>> arg0)
method_31152(class_5321<? extends class_2378<E>> arg0)
getRegistry(RegistryKey<? extends Registry<E>> key)
m_135682_(C_5264_<? extends C_4705_<E>> arg0)