Package net.minecraft

Record Class class_7608

java.lang.Object
java.lang.Record
net.minecraft.class_7608
Record Components:
content -
timeStamp -
salt -
lastSeen -

public record class_7608(Text content, Instant timeStamp, long salt, List<class_7608.class_7609> lastSeen) extends Record
Mappings:
Namespace Name
official rw
intermediary net/minecraft/class_7608
named net/minecraft/class_7608
official a
intermediary comp_929
named content
official b
intermediary comp_930
named timeStamp
official c
intermediary comp_931
named salt
official d
intermediary comp_932
named lastSeen
  • Field Details

    • content

      private final Text content
      The field for the content record component.
    • timeStamp

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

      private final long salt
      The field for the salt record component.
    • lastSeen

      private final List<class_7608.class_7609> lastSeen
      The field for the lastSeen record component.
    • field_39817

      private static final byte field_39817
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lrw;e:B
      intermediary field_39817 Lnet/minecraft/class_7608;field_39817:B
      named field_39817 Lnet/minecraft/class_7608;field_39817:B
  • Constructor Details

  • Method Details

    • method_44869

      public void method_44869(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lrw;a(Lqx;)V
      intermediary method_44869 Lnet/minecraft/class_7608;method_44869(Lnet/minecraft/class_2540;)V
      named method_44869 Lnet/minecraft/class_7608;method_44869(Lnet/minecraft/network/PacketByteBuf;)V
    • method_44867

      public HashCode method_44867()
      Mappings:
      Namespace Name Mixin selector
      official a Lrw;a()Lcom/google/common/hash/HashCode;
      intermediary method_44867 Lnet/minecraft/class_7608;method_44867()Lcom/google/common/hash/HashCode;
      named method_44867 Lnet/minecraft/class_7608;method_44867()Lcom/google/common/hash/HashCode;
    • method_44871

      private static byte[] method_44871(Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lrw;a(Lrm;)[B
      intermediary method_44871 Lnet/minecraft/class_7608;method_44871(Lnet/minecraft/class_2561;)[B
      named method_44871 Lnet/minecraft/class_7608;method_44871(Lnet/minecraft/text/Text;)[B
    • method_44868

      private static byte[] method_44868(List<class_7608.class_7609> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lrw;a(Ljava/util/List;)[B
      intermediary method_44868 Lnet/minecraft/class_7608;method_44868(Ljava/util/List;)[B
      named method_44868 Lnet/minecraft/class_7608;method_44868(Ljava/util/List;)[B
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • content

      public Text content()
      Returns the value of the content record component.
      Returns:
      the value of the content record component
    • timeStamp

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

      public long salt()
      Returns the value of the salt record component.
      Returns:
      the value of the salt record component
    • lastSeen

      public List<class_7608.class_7609> lastSeen()
      Returns the value of the lastSeen record component.
      Returns:
      the value of the lastSeen record component