Package net.minecraft.util.crash
Record Class ReportType
java.lang.Object
java.lang.Record
net.minecraft.util.crash.ReportType
- Record Components:
header-nuggets-
- Mappings:
Namespace Name named net/minecraft/util/crash/ReportTypeintermediary net/minecraft/class_9813official ynamed headerintermediary comp_2856official fnamed nuggetsintermediary comp_2857official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for theheaderrecord component.static final ReportTypestatic final ReportTypestatic final ReportTypestatic final ReportTypestatic final ReportTypeThe field for thenuggetsrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHeaderAndNugget(StringBuilder reportBuilder, List<String> extraInfo) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.nuggets()Returns the value of thenuggetsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
header
The field for theheaderrecord component. -
nuggets
The field for thenuggetsrecord component. -
MINECRAFT_CRASH_REPORT
- Mappings:
Namespace Name Mixin selector named MINECRAFT_CRASH_REPORTLnet/minecraft/util/crash/ReportType;MINECRAFT_CRASH_REPORT:Lnet/minecraft/util/crash/ReportType;intermediary field_52181Lnet/minecraft/class_9813;field_52181:Lnet/minecraft/class_9813;official aLy;a:Ly;
-
MINECRAFT_PROFILER_RESULTS
- Mappings:
Namespace Name Mixin selector named MINECRAFT_PROFILER_RESULTSLnet/minecraft/util/crash/ReportType;MINECRAFT_PROFILER_RESULTS:Lnet/minecraft/util/crash/ReportType;intermediary field_52182Lnet/minecraft/class_9813;field_52182:Lnet/minecraft/class_9813;official bLy;b:Ly;
-
MINECRAFT_TEST_REPORT
- Mappings:
Namespace Name Mixin selector named MINECRAFT_TEST_REPORTLnet/minecraft/util/crash/ReportType;MINECRAFT_TEST_REPORT:Lnet/minecraft/util/crash/ReportType;intermediary field_52183Lnet/minecraft/class_9813;field_52183:Lnet/minecraft/class_9813;official cLy;c:Ly;
-
MINECRAFT_NETWORK_PROTOCOL_ERROR_REPORT
- Mappings:
Namespace Name Mixin selector named MINECRAFT_NETWORK_PROTOCOL_ERROR_REPORTLnet/minecraft/util/crash/ReportType;MINECRAFT_NETWORK_PROTOCOL_ERROR_REPORT:Lnet/minecraft/util/crash/ReportType;intermediary field_52184Lnet/minecraft/class_9813;field_52184:Lnet/minecraft/class_9813;official dLy;d:Ly;
-
MINECRAFT_CHUNK_IO_ERROR_REPORT
- Mappings:
Namespace Name Mixin selector named MINECRAFT_CHUNK_IO_ERROR_REPORTLnet/minecraft/util/crash/ReportType;MINECRAFT_CHUNK_IO_ERROR_REPORT:Lnet/minecraft/util/crash/ReportType;intermediary field_52284Lnet/minecraft/class_9813;field_52284:Lnet/minecraft/class_9813;official eLy;e:Ly;
-
-
Constructor Details
-
ReportType
-
-
Method Details
-
chooseNugget
- Mappings:
Namespace Name Mixin selector named chooseNuggetLnet/minecraft/util/crash/ReportType;chooseNugget()Ljava/lang/String;intermediary method_60927Lnet/minecraft/class_9813;method_60927()Ljava/lang/String;official aLy;a()Ljava/lang/String;
-
addHeaderAndNugget
- Mappings:
Namespace Name Mixin selector named addHeaderAndNuggetLnet/minecraft/util/crash/ReportType;addHeaderAndNugget(Ljava/lang/StringBuilder;Ljava/util/List;)Vintermediary method_60928Lnet/minecraft/class_9813;method_60928(Ljava/lang/StringBuilder;Ljava/util/List;)Vofficial aLy;a(Ljava/lang/StringBuilder;Ljava/util/List;)V
-
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). -
header
Returns the value of theheaderrecord component.- Returns:
- the value of the
headerrecord component
-
nuggets
Returns the value of thenuggetsrecord component.- Returns:
- the value of the
nuggetsrecord component
-