net.minecraft.core

public class LayeredRegistryAccess<T>

hk
net.minecraft.core.LayeredRegistryAccess
net.minecraft.class_7780
net.minecraft.registry.CombinedDynamicRegistries
net.minecraft.src.C_243514_
net.minecraft.core.LayeredRegistryAccess

Field summary

Modifier and TypeField
private final List<T>
a
keys
field_40581
types
f_244209_
private final List<RegistryAccess$Frozen>
b
values
field_40582
registryManagers
f_244050_
private final RegistryAccess$Frozen
c
composite
field_40583
combinedRegistryManager
f_244063_

Constructor summary

ModifierConstructor
public (List<T> types)
private (List<T> types, List<RegistryAccess$Frozen> registryManagers)

Method summary

Modifier and TypeMethod
private int
d(T arg0)
getLayerIndexOrThrow(T arg0)
method_45937(T arg0)
getIndex(T type)
m_247084_(T arg0)
public RegistryAccess$Frozen
a(T arg0)
getLayer(T arg0)
method_45928(T arg0)
get(T index)
m_245283_(T arg0)
public RegistryAccess$Frozen
b(T arg0)
getAccessForLoading(T arg0)
method_45935(T arg0)
getPrecedingRegistryManagers(T type)
m_246035_(T arg0)
public RegistryAccess$Frozen
c(T arg0)
getAccessFrom(T arg0)
method_45936(T arg0)
getSucceedingRegistryManagers(T type)
m_245317_(T arg0)
private RegistryAccess$Frozen
a(int arg0, int arg1)
getCompositeAccessForLayers(int arg0, int arg1)
method_45927(int arg0, int arg1)
subset(int startIndex, int endIndex)
m_247441_(int p_251999_, int arg1)
public LayeredRegistryAccess<T>
a(T arg0, hr$b... arg1)
replaceFrom(T arg0, RegistryAccess$Frozen... arg1)
method_45930(T arg0, class_5455$class_6890... arg1)
with(T type, DynamicRegistryManager$Immutable... registryManagers)
m_247705_(T p_250492_, C_4706_$C_203240_... arg1)
public LayeredRegistryAccess<T>
a(T arg0, List<hr$b> arg1)
replaceFrom(T arg0, List<RegistryAccess$Frozen> arg1)
method_45929(T arg0, List<class_5455$class_6890> arg1)
with(T type, List<DynamicRegistryManager$Immutable> registryManagers)
m_245589_(T p_250124_, List<C_4706_$C_203240_> arg1)
public RegistryAccess$Frozen
a()
compositeAccess()
method_45926()
getCombinedRegistryManager()
m_247579_()
private static Map<ResourceKey<? extends Registry<?>>, Registry<?>>
a(Stream<? extends hr> arg0)
collectRegistries(Stream<? extends RegistryAccess> arg0)
method_45934(Stream<? extends class_5455> arg0)
toRegistryMap(Stream<? extends DynamicRegistryManager> registryManagers)
m_246119_(Stream<? extends C_4706_> p_248595_)