Package net.minecraft

Record Class class_7472

java.lang.Object
java.lang.Record
net.minecraft.class_7472
Record Components:
command -
timeStamp -
argumentSignatures -
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public record class_7472(String command, Instant timeStamp, class_7450 argumentSignatures) extends Record implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official wq
intermediary net/minecraft/class_7472
named net/minecraft/class_7472
official a
intermediary comp_808
named command
official b
intermediary comp_809
named timeStamp
official c
intermediary comp_810
named argumentSignatures
  • Field Details

    • command

      private final String command
      The field for the command record component.
    • timeStamp

      private final Instant timeStamp
      The field for the timeStamp record component.
    • argumentSignatures

      private final class_7450 argumentSignatures
      The field for the argumentSignatures record component.
    • field_39244

      private static final int field_39244
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lwq;d:I
      intermediary field_39244 Lnet/minecraft/class_7472;field_39244:I
      named field_39244 Lnet/minecraft/class_7472;field_39244:I
  • Constructor Details

  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lsh;a(Lqs;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lwq;a(Lwl;)V
      intermediary method_43897 Lnet/minecraft/class_7472;method_43897(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/class_7472;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • method_43898

      private Instant method_43898()
      Mappings:
      Namespace Name Mixin selector
      official e Lwq;e()Ljava/time/Instant;
      intermediary method_43898 Lnet/minecraft/class_7472;method_43898()Ljava/time/Instant;
      named method_43898 Lnet/minecraft/class_7472;method_43898()Ljava/time/Instant;
    • method_43895

      public boolean method_43895(Instant instant)
      Mappings:
      Namespace Name Mixin selector
      official a Lwq;a(Ljava/time/Instant;)Z
      intermediary method_43895 Lnet/minecraft/class_7472;method_43895(Ljava/time/Instant;)Z
      named method_43895 Lnet/minecraft/class_7472;method_43895(Ljava/time/Instant;)Z
    • method_43896

      public class_7448 method_43896(UUID uUID)
      Mappings:
      Namespace Name Mixin selector
      official a Lwq;a(Ljava/util/UUID;)Ldp;
      intermediary method_43896 Lnet/minecraft/class_7472;method_43896(Ljava/util/UUID;)Lnet/minecraft/class_7448;
      named method_43896 Lnet/minecraft/class_7472;method_43896(Ljava/util/UUID;)Lnet/minecraft/class_7448;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • command

      public String command()
      Returns the value of the command record component.
      Returns:
      the value of the command record component
    • timeStamp

      public Instant timeStamp()
      Returns the value of the timeStamp record component.
      Returns:
      the value of the timeStamp record component
    • argumentSignatures

      public class_7450 argumentSignatures()
      Returns the value of the argumentSignatures record component.
      Returns:
      the value of the argumentSignatures record component