Package net.minecraft
Record Class class_6767.class_6769
java.lang.Object
java.lang.Record
net.minecraft.class_6767.class_6769
- Record Components:
direction-protocolId-packetId-
- Enclosing class:
- class_6767
public static record class_6767.class_6769(NetworkSide direction, int protocolId, int packetId)
extends Record
- Mappings:
Namespace Name official asc$bintermediary net/minecraft/class_6767$class_6769named net/minecraft/class_6767$class_6769official aintermediary comp_259named directionofficial bintermediary comp_260named protocolIdofficial cintermediary comp_261named packetId
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NetworkSideThe field for thedirectionrecord component.private static final Map<class_6767.class_6769,String> private final intThe field for thepacketIdrecord component.private final intThe field for theprotocolIdrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_6767.class_6769method_39447(RecordedEvent recordedEvent) intpacketId()Returns the value of thepacketIdrecord component.intReturns the value of theprotocolIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
direction
The field for thedirectionrecord component. -
protocolId
private final int protocolIdThe field for theprotocolIdrecord component. -
packetId
private final int packetIdThe field for thepacketIdrecord component. -
field_35587
- Mappings:
Namespace Name Mixin selector official dLasc$b;d:Ljava/util/Map;intermediary field_35587Lnet/minecraft/class_6767$class_6769;field_35587:Ljava/util/Map;named field_35587Lnet/minecraft/class_6767$class_6769;field_35587:Ljava/util/Map;
-
-
Constructor Details
-
class_6769
-
-
Method Details
-
method_39445
- Mappings:
Namespace Name Mixin selector official aLasc$b;a()Ljava/lang/String;intermediary method_39445Lnet/minecraft/class_6767$class_6769;method_39445()Ljava/lang/String;named method_39445Lnet/minecraft/class_6767$class_6769;method_39445()Ljava/lang/String;
-
method_39447
- Mappings:
Namespace Name Mixin selector official aLasc$b;a(Ljdk/jfr/consumer/RecordedEvent;)Lasc$b;intermediary method_39447Lnet/minecraft/class_6767$class_6769;method_39447(Ljdk/jfr/consumer/RecordedEvent;)Lnet/minecraft/class_6767$class_6769;named method_39447Lnet/minecraft/class_6767$class_6769;method_39447(Ljdk/jfr/consumer/RecordedEvent;)Lnet/minecraft/class_6767$class_6769;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-
protocolId
public int protocolId()Returns the value of theprotocolIdrecord component.- Returns:
- the value of the
protocolIdrecord component
-
packetId
public int packetId()Returns the value of thepacketIdrecord component.- Returns:
- the value of the
packetIdrecord component
-