Package net.minecraft.util
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$ErrorListintermediary net/minecraft/class_8942$class_8943$class_11331official bfo$a$bnamed elementintermediary comp_4201official anamed errorsintermediary comp_4202official bnamed childrenintermediary comp_4203official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<ErrorReporter.Context, ErrorReporter.Impl.ErrorList> The field for thechildrenrecord component.private final ErrorReporter.ContextThe field for theelementrecord component.private final List<ErrorReporter.Error> The field for theerrorsrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionErrorList(ErrorReporter.Context context) privateErrorList(ErrorReporter.Context context, List<ErrorReporter.Error> list, Map<ErrorReporter.Context, ErrorReporter.Impl.ErrorList> map) -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.element()Returns the value of theelementrecord component.final booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.get(ErrorReporter.Context context) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
ErrorList
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/ErrorReporter$Impl$ErrorList;<init>(Lnet/minecraft/util/ErrorReporter$Context;)Vintermediary <init>Lnet/minecraft/class_8942$class_8943$class_11331;<init>(Lnet/minecraft/class_8942$class_11336;)Vofficial <init>Lbfo$a$b;<init>(Lbfo$f;)V
-
ErrorList
private ErrorList(ErrorReporter.Context context, List<ErrorReporter.Error> list, Map<ErrorReporter.Context, ErrorReporter.Impl.ErrorList> map)
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/util/ErrorReporter$Impl$ErrorList;get(Lnet/minecraft/util/ErrorReporter$Context;)Lnet/minecraft/util/ErrorReporter$Impl$ErrorList;intermediary method_71354Lnet/minecraft/class_8942$class_8943$class_11331;method_71354(Lnet/minecraft/class_8942$class_11336;)Lnet/minecraft/class_8942$class_8943$class_11331;official aLbfo$a$b;a(Lbfo$f;)Lbfo$a$b;
-
getMessages
- Mappings:
Namespace Name Mixin selector named getMessagesLnet/minecraft/util/ErrorReporter$Impl$ErrorList;getMessages()Ljava/util/List;intermediary method_71353Lnet/minecraft/class_8942$class_8943$class_11331;method_71353()Ljava/util/List;official aLbfo$a$b;a()Ljava/util/List;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
element
Returns the value of theelementrecord component.- Returns:
- the value of the
elementrecord component
-
errors
Returns the value of theerrorsrecord component.- Returns:
- the value of the
errorsrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-