net.minecraft.resources

public class RegistryReadOps<T>

extends DelegatingOps<T>

vh
net.minecraft.resources.RegistryReadOps
net.minecraft.class_5382
net.minecraft.util.dynamic.RegistryOps
net.minecraft.util.registry.WorldSettingsImport
net.minecraft.server.v1_16_R3.RegistryReadOps

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_25509
LOGGER
field_240870_b_
private final RegistryReadOps$ResourceAccess
c
resources
field_26738
entryLoader
field_244332_c
private final RegistryAccess$RegistryHolder
d
registryHolder
field_25511
registryManager
field_240872_d_
private final Map<ResourceKey<? extends Registry<?>>, RegistryReadOps$ReadCache<?>>
e
readCache
field_25512
valueHolders
field_240873_e_
private final RegistryReadOps<com.google.gson.JsonElement>
f
jsonOps
field_26739
entryOps
field_244333_f

Constructor summary

ModifierConstructor
private (com.mojang.serialization.DynamicOps<T> delegate, RegistryReadOps$ResourceAccess arg1, RegistryAccess$RegistryHolder arg2, IdentityHashMap<ResourceKey<? extends Registry<?>>, RegistryReadOps$ReadCache<?>> arg3)

Method summary

Modifier and TypeMethod
public static <T> RegistryReadOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, ach arg1, gn$b arg2)
create(com.mojang.serialization.DynamicOps<T> arg0, ResourceManager arg1, RegistryAccess$RegistryHolder arg2)
method_29753(com.mojang.serialization.DynamicOps<T> arg0, class_3300 arg1, class_5455$class_5457 arg2)
of(com.mojang.serialization.DynamicOps<T> delegate, ResourceManager resourceManager, DynamicRegistryManager$Impl arg2)
func_244335_a(com.mojang.serialization.DynamicOps<T> arg0, IResourceManager arg1, DynamicRegistries$Impl arg2)
public static <T> RegistryReadOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, vh$b arg1, gn$b arg2)
create(com.mojang.serialization.DynamicOps<T> arg0, RegistryReadOps$ResourceAccess arg1, RegistryAccess$RegistryHolder arg2)
method_31150(com.mojang.serialization.DynamicOps<T> arg0, class_5382$class_5506 arg1, class_5455$class_5457 arg2)
of(com.mojang.serialization.DynamicOps<T> arg0, RegistryOps$EntryLoader arg1, DynamicRegistryManager$Impl arg2)
func_244336_a(com.mojang.serialization.DynamicOps<T> arg0, WorldSettingsImport$IResourceAccess arg1, DynamicRegistries$Impl arg2)
protected <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Supplier<E>, T>>
a(T arg0, vj<? extends gm<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)
func_241802_a_(T arg0, RegistryKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2, boolean arg3)
public <E> com.mojang.serialization.DataResult<MappedRegistry<E>>
a(gi<E> arg0, vj<? extends gm<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)
func_241797_a_(SimpleRegistry<E> arg0, RegistryKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2)
private <E> com.mojang.serialization.DataResult<Supplier<E>>
a(vj<? extends gm<E>> arg0, gs<E> arg1, com.mojang.serialization.Codec<E> arg2, vk 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)
func_241805_a_(RegistryKey<? extends Registry<E>> arg0, MutableRegistry<E> arg1, com.mojang.serialization.Codec<E> arg2, ResourceLocation arg3)
private <E> RegistryReadOps$ReadCache<E>
b(vj<? extends gm<E>> arg0)
readCache(ResourceKey<? extends Registry<E>> arg0)
method_29761(class_5321<? extends class_2378<E>> arg0)
getValueHolder(RegistryKey<? extends Registry<E>> registryRef)
func_240884_a_(RegistryKey<? extends Registry<E>> arg0)
protected <E> com.mojang.serialization.DataResult<Registry<E>>
a(vj<? extends gm<E>> arg0)
registry(ResourceKey<? extends Registry<E>> arg0)
method_31152(class_5321<? extends class_2378<E>> arg0)
method_31152(RegistryKey<? extends Registry<E>> arg0)
func_244340_a(RegistryKey<? extends Registry<E>> arg0)