net.minecraft.resources

public class RegistryOps<T>

extends DelegatingOps<T>

alx
net.minecraft.resources.RegistryOps
net.minecraft.class_6903
net.minecraft.registry.RegistryOps
net.minecraft.resources.RegistryOps

Field summary

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

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, js$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 registries)
public static <T> RegistryOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, alx$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)
public static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0, js$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 registries)
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)
public <E> Optional<HolderOwner<E>>
a(aly<? extends kd<? 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)
public <E> Optional<HolderGetter<E>>
b(aly<? extends kd<? 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)
public static <E, O> com.mojang.serialization.codecs.RecordCodecBuilder<O, HolderGetter<E>>
c(aly<? extends kd<? 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)
public static <E, O> com.mojang.serialization.codecs.RecordCodecBuilder<O, Holder$Reference<E>>
d(aly<E> arg0)
retrieveElement(ResourceKey<E> arg0)
method_46637(class_5321<E> arg0)
getEntryCodec(RegistryKey<E> key)