Package net.minecraft.client.report
Record Class ReporterEnvironment.Server.ThirdParty
java.lang.Object
java.lang.Record
net.minecraft.client.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 official fff$a$bintermediary net/minecraft/class_7569$class_7570$class_7572named net/minecraft/client/report/ReporterEnvironment$Server$ThirdPartyofficial aintermediary comp_884named ip
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.report.ReporterEnvironment.Server
ReporterEnvironment.Server.Realm, ReporterEnvironment.Server.ThirdParty -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ip()Returns the value of theiprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ip
The field for theiprecord 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 theiprecord component.- Returns:
- the value of the
iprecord component
-