net.minecraft.data

public record DatagenRegistryWrapper<T>

implements RegistryView$Named$Delegating<T>

net.minecraft.core.registries.EmptyTagLookupWrapper
net.minecraft.class_1_1265
net.minecraft.data.DatagenRegistryWrapper

Field summary

Modifier and TypeField
private final RegistryView$Named<T>
parent
comp_1_1258
parent

Constructor summary

ModifierConstructor
public (RegistryView$Named<T> parent)

Method summary

Modifier and TypeMethod
public static <T> RegistryView$Named<T>
wrap(HolderLookup$RegistryLookup<T> registryLookup)
method_1_8017(class_7225$class_7226<T> arg0)
of(RegistryView$Named<T> parent)
public static RegistryView$WrapperLookup
wrap(HolderLookup$Provider provider)
method_1_8016(class_7225$class_7874 arg0)
forRegistries(RegistryView$WrapperLookup registries)
public Optional<RegistryEntryList$Named<T>>
get(TagKey<T> id)
method_46733(class_6862<T> arg0)
getOptional(TagKey<T> arg0)
public RegistryEntryList$Named<T>
getOrThrow(TagKey<T> id)
method_46735(class_6862<T> arg0)
getOrThrow(TagKey<T> arg0)
public boolean
canSerialize(HolderOwner<T> owner)
method_46767(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> arg0)
public Stream<RegistryEntryList$Named<T>>
listTags()
method_42020()
tags()
public RegistryView$Named<T>
parent()
comp_1_1258()
getBase()