Record Class SentTelemetryEvent
java.lang.Object
java.lang.Record
net.minecraft.client.session.telemetry.SentTelemetryEvent
- Record Components:
- type-
- properties-
@Environment(CLIENT)
public record SentTelemetryEvent(TelemetryEventType type, PropertyMap properties)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/session/telemetry/SentTelemetryEvent- intermediary - net/minecraft/class_7962- official - hpy- named - type- intermediary - comp_1169- official - b- named - properties- intermediary - comp_1170- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SentTelemetryEvent> private final PropertyMapThe field for thepropertiesrecord component.private final TelemetryEventTypeThe field for thetyperecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionSentTelemetryEvent(TelemetryEventType telemetryEventType, PropertyMap propertyMap) 
- 
Method SummaryModifier and TypeMethodDescriptioncom.mojang.authlib.minecraft.TelemetryEventcreateEvent(com.mojang.authlib.minecraft.TelemetrySession session) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.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- 
typeThe field for thetyperecord component.
- 
propertiesThe field for thepropertiesrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/session/telemetry/SentTelemetryEvent;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_41430- Lnet/minecraft/class_7962;field_41430:Lcom/mojang/serialization/Codec;- official - a- Lhpy;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
SentTelemetryEvent
 
- 
- 
Method Details- 
createEventpublic com.mojang.authlib.minecraft.TelemetryEvent createEvent(com.mojang.authlib.minecraft.TelemetrySession session) - Mappings:
- Namespace - Name - Mixin selector - named - createEvent- Lnet/minecraft/client/session/telemetry/SentTelemetryEvent;createEvent(Lcom/mojang/authlib/minecraft/TelemetrySession;)Lcom/mojang/authlib/minecraft/TelemetryEvent;- intermediary - method_47711- Lnet/minecraft/class_7962;method_47711(Lcom/mojang/authlib/minecraft/TelemetrySession;)Lcom/mojang/authlib/minecraft/TelemetryEvent;- official - a- Lhpy;a(Lcom/mojang/authlib/minecraft/TelemetrySession;)Lcom/mojang/authlib/minecraft/TelemetryEvent;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
typeReturns the value of thetyperecord component.- Returns:
- the value of the typerecord component
 
- 
propertiesReturns the value of thepropertiesrecord component.- Returns:
- the value of the propertiesrecord component
 
 
-