Package net.minecraft.util
Class DependencySorter<K,V extends DependencySorter.Entry<K>>
java.lang.Object
net.minecraft.util.DependencySorter<K,V>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <K> void
addDependencyIfNotCyclic
(com.google.common.collect.Multimap<K, K> p_285047_, K p_285148_, K p_285193_) private static <K> boolean
isCyclic
(com.google.common.collect.Multimap<K, K> p_285132_, K p_285324_, K p_285326_) void
orderByDependencies
(BiConsumer<K, V> p_285438_) private void
visitDependenciesAndElement
(com.google.common.collect.Multimap<K, K> p_285183_, Set<K> p_285506_, K p_285108_, BiConsumer<K, V> p_285007_)
-
Field Details
-
contents
-
-
Constructor Details
-
DependencySorter
public DependencySorter()
-
-
Method Details
-
addEntry
-
visitDependenciesAndElement
-
isCyclic
private static <K> boolean isCyclic(com.google.common.collect.Multimap<K, K> p_285132_, K p_285324_, K p_285326_) -
addDependencyIfNotCyclic
private static <K> void addDependencyIfNotCyclic(com.google.common.collect.Multimap<K, K> p_285047_, K p_285148_, K p_285193_) -
orderByDependencies
-