Package net.minecraft
Record Class class_7962
java.lang.Object
java.lang.Record
net.minecraft.class_7962
- Record Components:
type-properties-
@Environment(CLIENT)
public record class_7962(class_7966 type, class_7973 properties)
extends Record
- Mappings:
Namespace Name official fsqintermediary net/minecraft/class_7962named net/minecraft/class_7962official bintermediary comp_1169named typeofficial cintermediary comp_1170named properties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_7962>private final class_7973The field for thepropertiesrecord component.private final class_7966The field for thetyperecord component. -
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.com.mojang.authlib.minecraft.TelemetryEventmethod_47711(com.mojang.authlib.minecraft.TelemetrySession telemetrySession) Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
type
The field for thetyperecord component. -
properties
The field for thepropertiesrecord component. -
field_41430
- Mappings:
Namespace Name Mixin selector official aLfsq;a:Lcom/mojang/serialization/Codec;intermediary field_41430Lnet/minecraft/class_7962;field_41430:Lcom/mojang/serialization/Codec;named field_41430Lnet/minecraft/class_7962;field_41430:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7962
-
-
Method Details
-
method_47711
public com.mojang.authlib.minecraft.TelemetryEvent method_47711(com.mojang.authlib.minecraft.TelemetrySession telemetrySession) - Mappings:
Namespace Name Mixin selector official aLfsq;a(Lcom/mojang/authlib/minecraft/TelemetrySession;)Lcom/mojang/authlib/minecraft/TelemetryEvent;intermediary method_47711Lnet/minecraft/class_7962;method_47711(Lcom/mojang/authlib/minecraft/TelemetrySession;)Lcom/mojang/authlib/minecraft/TelemetryEvent;named method_47711Lnet/minecraft/class_7962;method_47711(Lcom/mojang/authlib/minecraft/TelemetrySession;)Lcom/mojang/authlib/minecraft/TelemetryEvent;
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-