Record Class TagGroupLoader.TagDependencies

java.lang.Object
java.lang.Record
net.minecraft.registry.tag.TagGroupLoader.TagDependencies
Record Components:
entries -
All Implemented Interfaces:
DependencyTracker.Dependencies<Identifier>
Enclosing class:
TagGroupLoader<T>

private static record TagGroupLoader.TagDependencies(List<TagGroupLoader.TrackedEntry> entries) extends Record implements DependencyTracker.Dependencies<Identifier>
Mappings:
Namespace Name
named net/minecraft/registry/tag/TagGroupLoader$TagDependencies
intermediary net/minecraft/class_3503$class_8522
official ayl$d
named entries
intermediary comp_1486
official a
  • Field Details

  • Constructor Details

  • Method Details

    • forDependencies

      public void forDependencies(Consumer<Identifier> callback)
      Specified by:
      forDependencies in interface DependencyTracker.Dependencies<Identifier>
      Mappings:
      Namespace Name Mixin selector
      named forDependencies Lnet/minecraft/resource/DependencyTracker$Dependencies;forDependencies(Ljava/util/function/Consumer;)V
      intermediary method_51478 Lnet/minecraft/class_8523$class_8524;method_51478(Ljava/util/function/Consumer;)V
      official a Lazj$a;a(Ljava/util/function/Consumer;)V
    • forOptionalDependencies

      public void forOptionalDependencies(Consumer<Identifier> callback)
      Specified by:
      forOptionalDependencies in interface DependencyTracker.Dependencies<Identifier>
      Mappings:
      Namespace Name Mixin selector
      named forOptionalDependencies Lnet/minecraft/resource/DependencyTracker$Dependencies;forOptionalDependencies(Ljava/util/function/Consumer;)V
      intermediary method_51480 Lnet/minecraft/class_8523$class_8524;method_51480(Ljava/util/function/Consumer;)V
      official b Lazj$a;b(Ljava/util/function/Consumer;)V
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • entries

      public List<TagGroupLoader.TrackedEntry> entries()
      Returns the value of the entries record component.
      Returns:
      the value of the entries record component