net.minecraft.registry

public class BootstrapRegistryWrapper<T>

implements RegistryView$Named<T>

net.minecraft.core.registries.BootstrapRegistry
net.minecraft.class_1_1241
net.minecraft.registry.BootstrapRegistryWrapper

Field summary

Modifier and TypeField
private final RegistryKey<? extends Registry<T>>
key
field_1_8575
key
private final com.mojang.serialization.Lifecycle
lifecycle
field_1_8576
lifecycle
private BootstrapRegistryWrapper$Contents<T>
storage
field_1_8577
contents

Constructor summary

ModifierConstructor
public (RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)

Method summary

Modifier and TypeMethod
public RegistryKey<? extends Registry<? extends T>>
key()
method_46765()
getKey()
public com.mojang.serialization.Lifecycle
registryLifecycle()
method_46766()
getLifecycle()
public void
freeze()
method_1_7847()
freeze()
public void
removeIf(Predicate<Holder$Reference<T>> predicate)
method_1_7848(Predicate<class_6880$class_6883<T>> arg0)
removeIf(Predicate<RegistryEntry$Reference<T>> predicate)
public Optional<RegistryEntry$Reference<T>>
get(ResourceKey<T> id)
method_46746(class_5321<T> arg0)
getOptional(RegistryKey<T> arg0)
public Stream<RegistryEntry$Reference<T>>
listElements()
method_42017()
streamEntries()
public Optional<RegistryEntryList$Named<T>>
get(TagKey<T> id)
method_46733(class_6862<T> arg0)
getOptional(TagKey<T> arg0)
public Stream<RegistryEntryList$Named<T>>
listTags()
method_42020()
tags()