Package net.minecraft.core
Class LayeredRegistryAccess<T>
java.lang.Object
net.minecraft.core.LayeredRegistryAccess<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegistryAccess.Frozen
private final List
<RegistryAccess.Frozen> -
Constructor Summary
ModifierConstructorDescriptionLayeredRegistryAccess
(List<T> p_251225_) private
LayeredRegistryAccess
(List<T> p_250473_, List<RegistryAccess.Frozen> p_249320_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Map
<ResourceKey<? extends Registry<?>>, Registry<?>> collectRegistries
(Stream<? extends RegistryAccess> p_248595_) getAccessForLoading
(T p_251335_) getAccessFrom
(T p_250766_) private RegistryAccess.Frozen
getCompositeAccessForLayers
(int p_251526_, int p_251999_) private int
getLayerIndexOrThrow
(T p_250144_) replaceFrom
(T p_249539_, List<RegistryAccess.Frozen> p_250124_) replaceFrom
(T p_252104_, RegistryAccess.Frozen... p_250492_)
-
Field Details
-
keys
-
values
-
composite
-
-
Constructor Details
-
LayeredRegistryAccess
-
LayeredRegistryAccess
-
-
Method Details
-
getLayerIndexOrThrow
-
getLayer
-
getAccessForLoading
-
getAccessFrom
-
getCompositeAccessForLayers
-
replaceFrom
-
replaceFrom
-
compositeAccess
-
collectRegistries
private static Map<ResourceKey<? extends Registry<?>>,Registry<?>> collectRegistries(Stream<? extends RegistryAccess> p_248595_)
-