net.minecraft.util

public class DependencySorter<K, V extends DependencySorter$Entry<K>>

axs
net.minecraft.util.DependencySorter
net.minecraft.class_8523
net.minecraft.resource.DependencyTracker
net.minecraft.src.C_283733_
net.minecraft.util.DependencySorter

Field summary

Modifier and TypeField
private final Map<K, V>
a
contents
field_44702
underlying
f_283882_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public DependencySorter<K, V>
a(K arg0, V arg1)
addEntry(K arg0, V arg1)
method_51486(K arg0, V arg1)
add(K key, V value)
m_284176_(K p_285334_, V arg1)
private void
a(com.google.common.collect.Multimap<K, K> arg0, Set<K> arg1, K arg2, BiConsumer<K, V> arg3)
visitDependenciesAndElement(com.google.common.collect.Multimap<K, K> arg0, Set<K> arg1, K arg2, BiConsumer<K, V> arg3)
method_51484(com.google.common.collect.Multimap<K, K> arg0, Set<K> arg1, K arg2, BiConsumer<K, V> arg3)
traverse(com.google.common.collect.Multimap<K, K> parentChild, Set<K> visited, K rootKey, BiConsumer<K, V> callback)
m_284372_(com.google.common.collect.Multimap<K, K> p_285506_, Set<K> p_285108_, K p_285007_, BiConsumer<K, V> arg3)
private static <K> boolean
a(com.google.common.collect.Multimap<K, K> arg0, K arg1, K arg2)
isCyclic(com.google.common.collect.Multimap<K, K> arg0, K arg1, K arg2)
method_51483(com.google.common.collect.Multimap<K, K> arg0, K arg1, K arg2)
containsReverseDependency(com.google.common.collect.Multimap<K, K> dependencies, K key, K dependency)
m_284553_(com.google.common.collect.Multimap<K, K> p_285132_, K p_285324_, K p_285326_)
private static <K> void
b(com.google.common.collect.Multimap<K, K> arg0, K arg1, K arg2)
addDependencyIfNotCyclic(com.google.common.collect.Multimap<K, K> arg0, K arg1, K arg2)
method_51489(com.google.common.collect.Multimap<K, K> arg0, K arg1, K arg2)
addDependency(com.google.common.collect.Multimap<K, K> dependencies, K key, K dependency)
m_284232_(com.google.common.collect.Multimap<K, K> p_285047_, K p_285148_, K p_285193_)
public void
a(BiConsumer<K, V> arg0)
orderByDependencies(BiConsumer<K, V> arg0)
method_51487(BiConsumer<K, V> arg0)
traverse(BiConsumer<K, V> callback)
m_284430_(BiConsumer<K, V> arg0)