Record Class ErrorReporter.Impl.ErrorList

java.lang.Object
java.lang.Record
net.minecraft.util.ErrorReporter.Impl.ErrorList
Record Components:
element -
errors -
children -
Enclosing class:
ErrorReporter.Impl

private static record ErrorReporter.Impl.ErrorList(ErrorReporter.Context element, List<ErrorReporter.Error> errors, Map<ErrorReporter.Context,ErrorReporter.Impl.ErrorList> children) extends Record
Mappings:
Namespace Name
named net/minecraft/util/ErrorReporter$Impl$ErrorList
intermediary net/minecraft/class_8942$class_8943$class_11331
official bci$a$b
named element
intermediary comp_4201
official a
named errors
intermediary comp_4202
official b
named children
intermediary comp_4203
official c
  • Field Details

  • Constructor Details

  • Method Details

    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/util/ErrorReporter$Impl$ErrorList;get(Lnet/minecraft/util/ErrorReporter$Context;)Lnet/minecraft/util/ErrorReporter$Impl$ErrorList;
      intermediary method_71354 Lnet/minecraft/class_8942$class_8943$class_11331;method_71354(Lnet/minecraft/class_8942$class_11336;)Lnet/minecraft/class_8942$class_8943$class_11331;
      official a Lbci$a$b;a(Lbci$f;)Lbci$a$b;
    • getMessages

      public List<String> getMessages()
      Mappings:
      Namespace Name Mixin selector
      named getMessages Lnet/minecraft/util/ErrorReporter$Impl$ErrorList;getMessages()Ljava/util/List;
      intermediary method_71353 Lnet/minecraft/class_8942$class_8943$class_11331;method_71353()Ljava/util/List;
      official a Lbci$a$b;a()Ljava/util/List;
    • 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.
    • element

      public ErrorReporter.Context element()
      Returns the value of the element record component.
      Returns:
      the value of the element record component
    • errors

      public List<ErrorReporter.Error> errors()
      Returns the value of the errors record component.
      Returns:
      the value of the errors record component
    • children

      Returns the value of the children record component.
      Returns:
      the value of the children record component