net.minecraft.resources

public class RegistryOps<T>

extends DelegatingOps<T>

aay
net.minecraft.resources.RegistryOps
net.minecraft.class_6903
net.minecraft.util.dynamic.RegistryOps
net.minecraft.src.C_203255_
net.minecraft.resources.RegistryOps

Field summary

Modifier and TypeField
private final Optional<RegistryLoader$Bound>
b
loader
field_36488
loaderAccess
f_206805_
private final RegistryAccess
c
registryAccess
field_36489
registryManager
f_206806_
private final com.mojang.serialization.DynamicOps<com.google.gson.JsonElement>
d
asJson
field_36490
entryOps
f_206807_

Constructor summary

ModifierConstructor
private (com.mojang.serialization.DynamicOps<T> delegate, RegistryAccess dynamicRegistryManager, Optional<RegistryLoader$Bound> loaderAccess)

Method summary

Modifier and TypeMethod
public static <T> RegistryOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, hn arg1)
create(com.mojang.serialization.DynamicOps<T> arg0, RegistryAccess arg1)
method_40414(com.mojang.serialization.DynamicOps<T> arg0, class_5455 arg1)
of(com.mojang.serialization.DynamicOps<T> delegate, DynamicRegistryManager registryManager)
m_206821_(com.mojang.serialization.DynamicOps<T> p_206822_, C_4706_ p_206823_)
public static <T> RegistryOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, hn$e arg1, aim arg2)
createAndLoad(com.mojang.serialization.DynamicOps<T> arg0, RegistryAccess$Writable arg1, ResourceManager arg2)
method_40412(com.mojang.serialization.DynamicOps<T> arg0, class_5455$class_6893 arg1, class_3300 arg2)
ofLoaded(com.mojang.serialization.DynamicOps<T> ops, DynamicRegistryManager$Mutable registryManager, ResourceManager resourceManager)
m_206813_(com.mojang.serialization.DynamicOps<T> p_206814_, C_4706_$C_203243_ p_206815_, C_77_ p_206816_)
public static <T> RegistryOps<T>
a(com.mojang.serialization.DynamicOps<T> arg0, hn$e arg1, aaz arg2)
createAndLoad(com.mojang.serialization.DynamicOps<T> arg0, RegistryAccess$Writable arg1, RegistryResourceAccess arg2)
method_40413(com.mojang.serialization.DynamicOps<T> arg0, class_5455$class_6893 arg1, class_5506 arg2)
ofLoaded(com.mojang.serialization.DynamicOps<T> ops, DynamicRegistryManager$Mutable registryManager, EntryLoader entryLoader)
m_206817_(com.mojang.serialization.DynamicOps<T> p_206818_, C_4706_$C_203243_ p_206819_, C_183123_ p_206820_)
public <E> Optional<? extends Registry<E>>
a(aba<? extends hm<? extends E>> arg0)
registry(ResourceKey<? extends Registry<? extends E>> arg0)
method_40416(class_5321<? extends class_2378<? extends E>> arg0)
getRegistry(RegistryKey<? extends Registry<? extends E>> key)
m_206826_(C_5264_<? extends C_4705_<? extends E>> arg0)
public Optional<RegistryLoader$Bound>
a()
registryLoader()
method_40411()
getLoaderAccess()
m_206812_()
public com.mojang.serialization.DynamicOps<com.google.gson.JsonElement>
b()
getAsJson()
method_40418()
getEntryOps()
m_206831_()
public static <E> com.mojang.serialization.MapCodec<Registry<E>>
b(aba<? extends hm<? extends E>> arg0)
retrieveRegistry(ResourceKey<? extends Registry<? extends E>> arg0)
method_40419(class_5321<? extends class_2378<? extends E>> arg0)
createRegistryCodec(RegistryKey<? extends Registry<? extends E>> registryRef)
m_206832_(C_5264_<? extends C_4705_<? extends E>> p_206833_)