net.minecraft.resources

public class RegistryOps<T>

extends DelegatingOps<T>

ahe
net.minecraft.resources.RegistryOps
net.minecraft.class_6903
net.minecraft.registry.RegistryOps
net.minecraft.src.C_203255_
net.minecraft.resources.RegistryOps

Field summary

Modifier and TypeField
private final RegistryOps$RegistryInfoLookup
b
lookupProvider
field_40852
registryInfoGetter
f_254668_

Constructor summary

ModifierConstructor
private (com.mojang.serialization.DynamicOps<T> delegate, RegistryOps$RegistryInfoLookup registryInfoGetter)

Method summary

Modifier and TypeMethod
private static RegistryOps$RegistryInfoLookup
a(ahe$b arg0)
memoizeLookup(RegistryOps$RegistryInfoLookup arg0)
method_46627(class_6903$class_7863 arg0)
caching(RegistryOps$RegistryInfoGetter registryInfoGetter)
m_255214_(C_203255_$C_254605_ p_255769_)
public static <T> RegistryOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, ij$b arg1)
create(com.mojang.serialization.DynamicOps<T> arg0, HolderLookup$Provider arg1)
method_46632(com.mojang.serialization.DynamicOps<T> arg0, class_7225$class_7874 arg1)
of(com.mojang.serialization.DynamicOps<T> delegate, RegistryWrapper$WrapperLookup wrapperLookup)
m_255058_(com.mojang.serialization.DynamicOps<T> p_256342_, C_213466_$C_254607_ p_255950_)
public static <T> RegistryOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, ahe$b arg1)
create(com.mojang.serialization.DynamicOps<T> arg0, RegistryOps$RegistryInfoLookup arg1)
method_40414(com.mojang.serialization.DynamicOps<T> arg0, class_6903$class_7863 arg1)
of(com.mojang.serialization.DynamicOps<T> delegate, RegistryOps$RegistryInfoGetter registryInfoGetter)
m_255060_(com.mojang.serialization.DynamicOps<T> p_256278_, C_203255_$C_254605_ p_256479_)
public <E> Optional<HolderOwner<E>>
a(ahf<? extends it<? extends E>> arg0)
owner(ResourceKey<? extends Registry<? extends E>> arg0)
method_46628(class_5321<? extends class_2378<? extends E>> arg0)
getOwner(RegistryKey<? extends Registry<? extends E>> registryRef)
m_255056_(C_5264_<? extends C_4705_<? extends E>> arg0)
public <E> Optional<HolderGetter<E>>
b(ahf<? extends it<? extends E>> arg0)
getter(ResourceKey<? extends Registry<? extends E>> arg0)
method_46634(class_5321<? extends class_2378<? extends E>> arg0)
getEntryLookup(RegistryKey<? extends Registry<? extends E>> registryRef)
m_255006_(C_5264_<? extends C_4705_<? extends E>> arg0)
public static <E, O> com.mojang.serialization.codecs.RecordCodecBuilder<O, HolderGetter<E>>
c(ahf<? extends it<? extends E>> arg0)
retrieveGetter(ResourceKey<? extends Registry<? extends E>> arg0)
method_46636(class_5321<? extends class_2378<? extends E>> arg0)
getEntryLookupCodec(RegistryKey<? extends Registry<? extends E>> registryRef)
m_255175_(C_5264_<? extends C_4705_<? extends E>> p_206833_)
public static <E, O> com.mojang.serialization.codecs.RecordCodecBuilder<O, Holder$Reference<E>>
d(ahf<E> arg0)
retrieveElement(ResourceKey<E> arg0)
method_46637(class_5321<E> arg0)
getEntryCodec(RegistryKey<E> key)
m_254866_(C_5264_<E> p_256347_)