net.minecraft.resources

public class RegistryReadOps<T>

extends DelegatingOps<T>

ue
net.minecraft.resources.RegistryReadOps
net.minecraft.class_5382
net.minecraft.util.dynamic.RegistryOps
net.minecraft.util.registry.WorldSettingsImport
net.minecraft.server.v1_16_R1.RegistryReadOps

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_25509
LOGGER
field_240870_b_
private final ResourceManager
c
resourceManager
field_25510
resourceManager
field_240871_c_
private final RegistryAccess
d
registryHolder
field_25511
registryTracker
field_240872_d_
private final Map<ResourceKey<? extends Registry<?>>, RegistryReadOps$ReadCache<?>>
e
readCache
field_25512
valueHolders
field_240873_e_

Constructor summary

ModifierConstructor
private (com.mojang.serialization.DynamicOps<T> delegate, ResourceManager resourceManager, RegistryAccess registryTracker)

Method summary

Modifier and TypeMethod
public static <T> RegistryReadOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, abc arg1, gm arg2)
create(com.mojang.serialization.DynamicOps<T> arg0, ResourceManager arg1, RegistryAccess arg2)
method_29753(com.mojang.serialization.DynamicOps<T> arg0, class_3300 arg1, class_5318 arg2)
of(com.mojang.serialization.DynamicOps<T> delegate, ResourceManager resourceManager, RegistryTracker registryTracker)
func_240876_a_(com.mojang.serialization.DynamicOps<T> arg0, IResourceManager arg1, IDynamicRegistries arg2)
protected <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Supplier<E>, T>>
a(T arg0, ug<gl<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
decodeElement(T arg0, ResourceKey<Registry<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
method_29759(T arg0, class_5321<class_2378<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
decodeOrId(T arg0, RegistryKey<Registry<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
func_241802_a_(T arg0, RegistryKey<Registry<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
public <E> com.mojang.serialization.DataResult<MappedRegistry<E>>
a(gh<E> arg0, ug<gl<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
decodeElements(MappedRegistry<E> arg0, ResourceKey<Registry<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
method_29755(class_2370<E> arg0, class_5321<class_2378<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
loadToRegistry(SimpleRegistry<E> registry, RegistryKey<Registry<E>> registryRef, com.mojang.serialization.MapCodec<E> arg2)
func_241797_a_(SimpleRegistry<E> arg0, RegistryKey<Registry<E>> arg1, com.mojang.serialization.MapCodec<E> arg2)
private <E> com.mojang.serialization.DataResult<Supplier<E>>
a(ug<gl<E>> arg0, gs<E> arg1, com.mojang.serialization.MapCodec<E> arg2, uh arg3)
readAndRegisterElement(ResourceKey<Registry<E>> arg0, WritableRegistry<E> arg1, com.mojang.serialization.MapCodec<E> arg2, ResourceLocation arg3)
method_29763(class_5321<class_2378<E>> arg0, class_2385<E> arg1, com.mojang.serialization.MapCodec<E> arg2, class_2960 arg3)
readSupplier(RegistryKey<Registry<E>> registryRef, MutableRegistry<E> registry, com.mojang.serialization.MapCodec<E> arg2, Identifier elementId)
func_241805_a_(RegistryKey<Registry<E>> arg0, MutableRegistry<E> arg1, com.mojang.serialization.MapCodec<E> arg2, ResourceLocation arg3)
private <E> com.mojang.serialization.DataResult<E>
a(ug<gl<E>> arg0, ug<E> arg1, com.mojang.serialization.MapCodec<E> arg2)
readElementFromFile(ResourceKey<Registry<E>> arg0, ResourceKey<E> arg1, com.mojang.serialization.MapCodec<E> arg2)
method_29764(class_5321<class_2378<E>> arg0, class_5321<E> arg1, com.mojang.serialization.MapCodec<E> arg2)
readElement(RegistryKey<Registry<E>> registryRef, RegistryKey<E> elementRef, com.mojang.serialization.MapCodec<E> arg2)
func_241806_a_(RegistryKey<Registry<E>> arg0, RegistryKey<E> arg1, com.mojang.serialization.MapCodec<E> arg2)
private <E> RegistryReadOps$ReadCache<E>
a(ug<gl<E>> arg0)
readCache(ResourceKey<Registry<E>> arg0)
method_29761(class_5321<class_2378<E>> arg0)
getValueHolder(RegistryKey<Registry<E>> registryRef)
func_240884_a_(RegistryKey<Registry<E>> arg0)