net.minecraft.resources

public class RegistryOps<T>

extends DelegatingOps<T>

ald
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
public static <T> RegistryOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, jk$a 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, ald$c 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 static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0, jk$a arg1)
injectRegistryContext(com.mojang.serialization.Dynamic<T> arg0, HolderLookup$Provider arg1)
method_56622(com.mojang.serialization.Dynamic<T> arg0, class_7225$class_7874 arg1)
withRegistry(com.mojang.serialization.Dynamic<T> dynamic, RegistryWrapper$WrapperLookup registryLookup)
m_321059_(com.mojang.serialization.Dynamic<T> p_331489_, C_213466_$C_254607_ p_331408_)
public <U> RegistryOps<U>
a(com.mojang.serialization.DynamicOps<U> arg0)
withParent(com.mojang.serialization.DynamicOps<U> arg0)
method_57110(com.mojang.serialization.DynamicOps<U> arg0)
withDelegate(com.mojang.serialization.DynamicOps<U> delegate)
m_322470_(com.mojang.serialization.DynamicOps<U> arg0)
public <E> Optional<HolderOwner<E>>
a(ale<? extends jv<? 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(ale<? extends jv<? 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(ale<? extends jv<? 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(ale<E> arg0)
retrieveElement(ResourceKey<E> arg0)
method_46637(class_5321<E> arg0)
getEntryCodec(RegistryKey<E> key)
m_254866_(C_5264_<E> p_256347_)