net.minecraft.registry

public record RegistryLoader$Entry<T>

net.minecraft.resources.RegistryDataLoader$RegistryData
net.minecraft.class_7655$class_7657
net.minecraft.registry.RegistryLoader$Entry

Field summary

Modifier and TypeField
private final RegistryKey<? extends Registry<T>>
key
comp_985
key
private final com.mojang.serialization.Codec<T>
elementCodec
comp_986
elementCodec
private final boolean
requiredNonEmpty
comp_2664
requiredNonEmpty

Constructor summary

ModifierConstructor
private (RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> codec)
public (RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty)

Method summary

Modifier and TypeMethod
private RegistryLoader$Loader<T>
create(com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<?>, Exception> loadingErrors)
method_45131(com.mojang.serialization.Lifecycle arg0, Map<class_5321<?>, Exception> arg1)
getLoader(com.mojang.serialization.Lifecycle lifecycle, Map<RegistryKey<?>, Exception> errors)
public void
runWithArguments(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> output)
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)
public RegistryKey<? extends Registry<T>>
key()
comp_985()
key()
public com.mojang.serialization.Codec<T>
elementCodec()
comp_986()
elementCodec()
public boolean
requiredNonEmpty()
comp_2664()
requiredNonEmpty()