Record Class ReporterEnvironment.Server.ThirdParty
java.lang.Object
java.lang.Record
net.minecraft.client.session.report.ReporterEnvironment.Server.ThirdParty
- Record Components:
ip
-
- All Implemented Interfaces:
ReporterEnvironment.Server
- Enclosing interface:
ReporterEnvironment.Server
@Environment(CLIENT)
public static record ReporterEnvironment.Server.ThirdParty(String ip)
extends Record
implements ReporterEnvironment.Server
- Mappings:
Namespace Name named net/minecraft/client/session/report/ReporterEnvironment$Server$ThirdParty
intermediary net/minecraft/class_7569$class_7570$class_7572
official fzc$a$b
named ip
intermediary comp_884
official a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.session.report.ReporterEnvironment.Server
ReporterEnvironment.Server.Realm, ReporterEnvironment.Server.ThirdParty
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.ip()
Returns the value of theip
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
ip
The field for theip
record component.
-
-
Constructor Details
-
ThirdParty
-
-
Method Details
-
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)
. -
ip
Returns the value of theip
record component.- Returns:
- the value of the
ip
record component
-