net.minecraft.registry

public class CombinedRegistryView<T>

implements RegistryView$Named<T>

net.minecraft.core.registries.PatchedRegistry
net.minecraft.class_1_1223
net.minecraft.registry.CombinedRegistryView

Field summary

Modifier and TypeField
private final RegistryKey<? extends Registry<? extends T>>
key
field_1_8498
key
private final com.mojang.serialization.Lifecycle
lifecycle
field_1_8499
lifecycle
private final Map<RegistryKey<T>, RegistryEntry$Reference<T>>
entries
field_1_8497
entries

Constructor summary

ModifierConstructor
private (RegistryKey<? extends Registry<? extends 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 Stream<RegistryEntry$Reference<T>>
listElements()
method_42017()
streamEntries()
public Optional<RegistryEntry$Reference<T>>
get(ResourceKey<T> id)
method_46746(class_5321<T> arg0)
getOptional(RegistryKey<T> arg0)
public Stream<RegistryEntryList$Named<T>>
listTags()
method_42020()
tags()
public Optional<RegistryEntryList$Named<T>>
get(TagKey<T> id)
method_46733(class_6862<T> arg0)
getOptional(TagKey<T> arg0)
private static <T> RegistryView$Named<T>
createLazyFullPatchedRegistries(Cloner$Factory clonerFactory, ResourceKey<? extends Registry<? extends T>> registryKey, HolderLookup$Provider baseProvider, HolderLookup$Provider patchProvider, org.apache.commons.lang3.mutable.MutableObject<HolderLookup$Provider> clonedRegistriesProvider)
method_1_7772(class_8990$class_8991 arg0, class_5321<? extends class_2378<? extends T>> arg1, class_7225$class_7874 arg2, class_7225$class_7874 arg3, org.apache.commons.lang3.mutable.MutableObject<class_7225$class_7874> arg4)
combinedRegistry(RegistryCloner$CloneableRegistries cloneableRegistries, RegistryKey<? extends Registry<? extends T>> registryKey, RegistryView$WrapperLookup baseRegistries, RegistryView$WrapperLookup patchRegistries, org.apache.commons.lang3.mutable.MutableObject<RegistryView$WrapperLookup> fullRegistries)
public static RegistryView$WrapperLookup
applyPatches(HolderLookup$Provider context, HolderLookup$Provider baseRegistries, HolderLookup$Provider patchRegistries, Cloner$Factory clonerFactory, Set<ResourceKey<? extends Registry<?>>> registriesToClone)
method_1_7771(class_7225$class_7874 arg0, class_7225$class_7874 arg1, class_7225$class_7874 arg2, class_8990$class_8991 arg3, Set<class_5321<? extends class_2378<?>>> arg4)
combinedRegistries(RegistryView$WrapperLookup registries, RegistryView$WrapperLookup baseRegistries, RegistryView$WrapperLookup patchRegistries, RegistryCloner$CloneableRegistries cloneableRegistries, Set<RegistryKey<? extends Registry<?>>> bootstrappedRegistries)
private static RegistryView$Named
lambda$applyPatches$0(Cloner$Factory arg0, HolderLookup$Provider arg1, HolderLookup$Provider arg2, org.apache.commons.lang3.mutable.MutableObject arg3, ResourceKey arg4)
method_1_7773(class_8990$class_8991 arg0, class_7225$class_7874 arg1, class_7225$class_7874 arg2, org.apache.commons.lang3.mutable.MutableObject arg3, class_5321 arg4)
method_1_7773(RegistryCloner$CloneableRegistries arg0, RegistryView$WrapperLookup arg1, RegistryView$WrapperLookup arg2, org.apache.commons.lang3.mutable.MutableObject arg3, RegistryKey registryKey)
private static void
lambda$createLazyFullPatchedRegistries$2(PatchedRegistry arg0, Cloner arg1, HolderLookup$Provider arg2, org.apache.commons.lang3.mutable.MutableObject arg3, Holder$Reference arg4)
method_1_7776(class_1_1223 arg0, class_8990 arg1, class_7225$class_7874 arg2, org.apache.commons.lang3.mutable.MutableObject arg3, class_6880$class_6883 arg4)
method_1_7776(CombinedRegistryView arg0, RegistryCloner arg1, RegistryView$WrapperLookup arg2, org.apache.commons.lang3.mutable.MutableObject arg3, RegistryEntry$Reference entry)
private static RegistryEntry$Reference
lambda$createLazyFullPatchedRegistries$3(PatchedRegistry arg0, ResourceKey arg1, Cloner arg2, Holder$Reference arg3, HolderLookup$Provider arg4, org.apache.commons.lang3.mutable.MutableObject arg5, ResourceKey arg6)
method_1_7777(class_1_1223 arg0, class_5321 arg1, class_8990 arg2, class_6880$class_6883 arg3, class_7225$class_7874 arg4, org.apache.commons.lang3.mutable.MutableObject arg5, class_5321 arg6)
method_1_7777(CombinedRegistryView arg0, RegistryKey arg1, RegistryCloner arg2, RegistryEntry$Reference arg3, RegistryView$WrapperLookup arg4, org.apache.commons.lang3.mutable.MutableObject arg5, RegistryKey key)
private static Object
lambda$createLazyFullPatchedRegistries$4(Cloner arg0, Holder$Reference arg1, HolderLookup$Provider arg2, org.apache.commons.lang3.mutable.MutableObject arg3)
method_1_7778(class_8990 arg0, class_6880$class_6883 arg1, class_7225$class_7874 arg2, org.apache.commons.lang3.mutable.MutableObject arg3)
method_1_7778(RegistryCloner arg0, RegistryEntry$Reference arg1, RegistryView$WrapperLookup arg2, org.apache.commons.lang3.mutable.MutableObject arg3)
private static void
lambda$createLazyFullPatchedRegistries$0(PatchedRegistry arg0, Cloner arg1, HolderLookup$Provider arg2, org.apache.commons.lang3.mutable.MutableObject arg3, Holder$Reference arg4)
method_1_7774(class_1_1223 arg0, class_8990 arg1, class_7225$class_7874 arg2, org.apache.commons.lang3.mutable.MutableObject arg3, class_6880$class_6883 arg4)
method_1_7774(CombinedRegistryView arg0, RegistryCloner arg1, RegistryView$WrapperLookup arg2, org.apache.commons.lang3.mutable.MutableObject arg3, RegistryEntry$Reference entry)
private static Object
lambda$createLazyFullPatchedRegistries$1(Cloner arg0, Holder$Reference arg1, HolderLookup$Provider arg2, org.apache.commons.lang3.mutable.MutableObject arg3)
method_1_7775(class_8990 arg0, class_6880$class_6883 arg1, class_7225$class_7874 arg2, org.apache.commons.lang3.mutable.MutableObject arg3)
method_1_7775(RegistryCloner arg0, RegistryEntry$Reference arg1, RegistryView$WrapperLookup arg2, org.apache.commons.lang3.mutable.MutableObject arg3)