Class DependencyTracker<K,V extends DependencyTracker.Dependencies<K>>

java.lang.Object
net.minecraft.resource.DependencyTracker<K,V>

public class DependencyTracker<K,V extends DependencyTracker.Dependencies<K>> extends Object
Mappings:
Namespace Name
named net/minecraft/resource/DependencyTracker
intermediary net/minecraft/class_8523
official azj
  • Field Details

    • underlying

      private final Map<K,V extends DependencyTracker.Dependencies<K>> underlying
      Mappings:
      Namespace Name Mixin selector
      named underlying Lnet/minecraft/resource/DependencyTracker;underlying:Ljava/util/Map;
      intermediary field_44702 Lnet/minecraft/class_8523;field_44702:Ljava/util/Map;
      official a Lazj;a:Ljava/util/Map;
  • Constructor Details

    • DependencyTracker

      public DependencyTracker()
  • Method Details

    • add

      public DependencyTracker<K,V> add(K key, V value)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/resource/DependencyTracker;add(Ljava/lang/Object;Lnet/minecraft/resource/DependencyTracker$Dependencies;)Lnet/minecraft/resource/DependencyTracker;
      intermediary method_51486 Lnet/minecraft/class_8523;method_51486(Ljava/lang/Object;Lnet/minecraft/class_8523$class_8524;)Lnet/minecraft/class_8523;
      official a Lazj;a(Ljava/lang/Object;Lazj$a;)Lazj;
    • traverse

      private void traverse(Multimap<K,K> parentChild, Set<K> visited, K rootKey, BiConsumer<K,V> callback)
      Mappings:
      Namespace Name Mixin selector
      named traverse Lnet/minecraft/resource/DependencyTracker;traverse(Lcom/google/common/collect/Multimap;Ljava/util/Set;Ljava/lang/Object;Ljava/util/function/BiConsumer;)V
      intermediary method_51484 Lnet/minecraft/class_8523;method_51484(Lcom/google/common/collect/Multimap;Ljava/util/Set;Ljava/lang/Object;Ljava/util/function/BiConsumer;)V
      official a Lazj;a(Lcom/google/common/collect/Multimap;Ljava/util/Set;Ljava/lang/Object;Ljava/util/function/BiConsumer;)V
    • containsReverseDependency

      private static <K> boolean containsReverseDependency(Multimap<K,K> dependencies, K key, K dependency)
      Mappings:
      Namespace Name Mixin selector
      named containsReverseDependency Lnet/minecraft/resource/DependencyTracker;containsReverseDependency(Lcom/google/common/collect/Multimap;Ljava/lang/Object;Ljava/lang/Object;)Z
      intermediary method_51483 Lnet/minecraft/class_8523;method_51483(Lcom/google/common/collect/Multimap;Ljava/lang/Object;Ljava/lang/Object;)Z
      official a Lazj;a(Lcom/google/common/collect/Multimap;Ljava/lang/Object;Ljava/lang/Object;)Z
    • addDependency

      private static <K> void addDependency(Multimap<K,K> dependencies, K key, K dependency)
      Mappings:
      Namespace Name Mixin selector
      named addDependency Lnet/minecraft/resource/DependencyTracker;addDependency(Lcom/google/common/collect/Multimap;Ljava/lang/Object;Ljava/lang/Object;)V
      intermediary method_51489 Lnet/minecraft/class_8523;method_51489(Lcom/google/common/collect/Multimap;Ljava/lang/Object;Ljava/lang/Object;)V
      official b Lazj;b(Lcom/google/common/collect/Multimap;Ljava/lang/Object;Ljava/lang/Object;)V
    • traverse

      public void traverse(BiConsumer<K,V> callback)
      Mappings:
      Namespace Name Mixin selector
      named traverse Lnet/minecraft/resource/DependencyTracker;traverse(Ljava/util/function/BiConsumer;)V
      intermediary method_51487 Lnet/minecraft/class_8523;method_51487(Ljava/util/function/BiConsumer;)V
      official a Lazj;a(Ljava/util/function/BiConsumer;)V