Record Class CustomReportDetailsS2CPacket
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.common.CustomReportDetailsS2CPacket
- Record Components:
details-
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
public record CustomReportDetailsS2CPacket(Map<String,String> details)
extends Record
implements Packet<ClientCommonPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/common/CustomReportDetailsS2CPacketintermediary net/minecraft/class_9814official zonamed detailsintermediary comp_2858official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf, CustomReportDetailsS2CPacket> The field for thedetailsrecord component.private static final PacketCodec<ByteBuf, Map<String, String>> private static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientCommonPacketListener clientCommonPacketListener) details()Returns the value of thedetailsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
details
The field for thedetailsrecord component. -
MAX_KEY_LENGTH
private static final int MAX_KEY_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_KEY_LENGTHLnet/minecraft/network/packet/s2c/common/CustomReportDetailsS2CPacket;MAX_KEY_LENGTH:Iintermediary field_52186Lnet/minecraft/class_9814;field_52186:Iofficial cLzo;c:I
-
MAX_VALUE_LENGTH
private static final int MAX_VALUE_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_VALUE_LENGTHLnet/minecraft/network/packet/s2c/common/CustomReportDetailsS2CPacket;MAX_VALUE_LENGTH:Iintermediary field_52187Lnet/minecraft/class_9814;field_52187:Iofficial dLzo;d:I
-
MAX_DETAILS_SIZE
private static final int MAX_DETAILS_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_DETAILS_SIZELnet/minecraft/network/packet/s2c/common/CustomReportDetailsS2CPacket;MAX_DETAILS_SIZE:Iintermediary field_52188Lnet/minecraft/class_9814;field_52188:Iofficial eLzo;e:I
-
DETAILS_CODEC
- Mappings:
Namespace Name Mixin selector named DETAILS_CODECLnet/minecraft/network/packet/s2c/common/CustomReportDetailsS2CPacket;DETAILS_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_52189Lnet/minecraft/class_9814;field_52189:Lnet/minecraft/class_9139;official fLzo;f:Lyx;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/s2c/common/CustomReportDetailsS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_52185Lnet/minecraft/class_9814;field_52185:Lnet/minecraft/class_9139;official aLzo;a:Lyx;
-
-
Constructor Details
-
CustomReportDetailsS2CPacket
-
-
Method Details
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ClientCommonPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLzg;a()Lzi;
-
apply
- Specified by:
applyin interfacePacket<ClientCommonPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/s2c/common/CustomReportDetailsS2CPacket;apply(Lnet/minecraft/network/listener/ClientCommonPacketListener;)Vintermediary method_60929Lnet/minecraft/class_9814;method_60929(Lnet/minecraft/class_8705;)Vofficial aLzo;a(Lzm;)V
-
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). -
details
Returns the value of thedetailsrecord component.- Returns:
- the value of the
detailsrecord component
-