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
official aof
intermediary net/minecraft/class_8523
named net/minecraft/resource/DependencyTracker
  • Field Details

    • underlying

      private final Map<K,V extends DependencyTracker.Dependencies<K>> underlying
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a:Ljava/util/Map;
      intermediary field_44702 Lnet/minecraft/class_8523;field_44702:Ljava/util/Map;
      named underlying Lnet/minecraft/resource/DependencyTracker;underlying: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
      official a Laof;a(Ljava/lang/Object;Laof$a;)Laof;
      intermediary method_51486 Lnet/minecraft/class_8523;method_51486(Ljava/lang/Object;Lnet/minecraft/class_8523$class_8524;)Lnet/minecraft/class_8523;
      named add Lnet/minecraft/resource/DependencyTracker;add(Ljava/lang/Object;Lnet/minecraft/resource/DependencyTracker$Dependencies;)Lnet/minecraft/resource/DependencyTracker;
    • traverse

      private void traverse(Multimap<K,K> parentChild, Set<K> visited, K rootKey, BiConsumer<K,V> callback)
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(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
      named traverse Lnet/minecraft/resource/DependencyTracker;traverse(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
      official a Laof;a(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
      named containsReverseDependency Lnet/minecraft/resource/DependencyTracker;containsReverseDependency(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
      official b Laof;b(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
      named addDependency Lnet/minecraft/resource/DependencyTracker;addDependency(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
      official a Laof;a(Ljava/util/function/BiConsumer;)V
      intermediary method_51487 Lnet/minecraft/class_8523;method_51487(Ljava/util/function/BiConsumer;)V
      named traverse Lnet/minecraft/resource/DependencyTracker;traverse(Ljava/util/function/BiConsumer;)V