Class DependencySorter<K,V extends DependencySorter.Entry<K>>

java.lang.Object
net.minecraft.util.DependencySorter<K,V>

public class DependencySorter<K,V extends DependencySorter.Entry<K>> extends Object
  • Field Details

  • Constructor Details

    • DependencySorter

      public DependencySorter()
  • Method Details

    • addEntry

      public DependencySorter<K,V> addEntry(K p_285256_, V p_285334_)
    • visitDependenciesAndElement

      private void visitDependenciesAndElement(com.google.common.collect.Multimap<K,K> p_285183_, Set<K> p_285506_, K p_285108_, BiConsumer<K,V> p_285007_)
    • 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

      public void orderByDependencies(BiConsumer<K,V> p_285438_)