net.minecraft.resources

public record RegistryDataLoader$RegistryData<T>

akm$c
net.minecraft.resources.RegistryDataLoader$RegistryData
net.minecraft.class_7655$class_7657
net.minecraft.registry.RegistryLoader$Entry
net.minecraft.src.C_243574_$C_243529_
net.minecraft.resources.RegistryDataLoader$c

Field summary

Modifier and TypeField
private final ResourceKey<? extends Registry<T>>
a
key
comp_985
key
f_243794_
final com.mojang.serialization.Codec<T>
b
elementCodec
comp_986
elementCodec
f_244580_
final boolean
c
requiredNonEmpty
comp_2664
requiredNonEmpty
f_337394_

Constructor summary

ModifierConstructor
(ResourceKey<? extends Registry<T>> p_248976_, com.mojang.serialization.Codec<T> arg1)
public (ResourceKey<? extends Registry<T>> elementCodec, com.mojang.serialization.Codec<T> requiredNonEmpty, boolean arg2)

Method summary

Modifier and TypeMethod
RegistryDataLoader$Loader<T>
a(com.mojang.serialization.Lifecycle arg0, Map<akq<?>, Exception> arg1)
create(com.mojang.serialization.Lifecycle arg0, Map<ResourceKey<?>, Exception> arg1)
method_45131(com.mojang.serialization.Lifecycle arg0, Map<class_5321<?>, Exception> arg1)
getLoader(com.mojang.serialization.Lifecycle lifecycle, Map<RegistryKey<?>, Exception> errors)
m_245364_(com.mojang.serialization.Lifecycle p_251565_, Map<C_5264_<?>, Exception> arg1)
public void
a(BiConsumer<akq<? extends jz<T>>, com.mojang.serialization.Codec<T>> arg0)
runWithArguments(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> arg0)
method_54920(BiConsumer<class_5321<? extends class_2378<T>>, com.mojang.serialization.Codec<T>> arg0)
addToCloner(BiConsumer<RegistryKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> callback)
m_305182_(BiConsumer<C_5264_<? extends C_4705_<T>>, com.mojang.serialization.Codec<T>> arg0)
public ResourceKey<? extends Registry<T>>
a()
key()
comp_985()
key()
f_243794_()
public com.mojang.serialization.Codec<T>
b()
elementCodec()
comp_986()
elementCodec()
f_244580_()
public boolean
c()
requiredNonEmpty()
comp_2664()
requiredNonEmpty()
f_337394_()