Package net.minecraft

Record Class class_7557.class_7559

java.lang.Object
java.lang.Record
net.minecraft.class_7557.class_7559
Record Components:
message -
timeStamp -
All Implemented Interfaces:
class_7557
Enclosing interface:
class_7557

@Environment(CLIENT) public static record class_7557.class_7559(Text message, Instant timeStamp) extends Record implements class_7557
Mappings:
Namespace Name
official euj$b
intermediary net/minecraft/class_7557$class_7559
named net/minecraft/class_7557$class_7559
official a
intermediary comp_871
named message
official b
intermediary comp_872
named timeStamp
  • Field Details

    • message

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

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

    • class_7559

      public class_7559(Text text, Instant instant)
  • Method Details

    • method_44551

      public Text method_44551()
      Specified by:
      method_44551 in interface class_7557
      Mappings:
      Namespace Name Mixin selector
      official a Leuj;a()Lrm;
      intermediary method_44551 Lnet/minecraft/class_7557;method_44551()Lnet/minecraft/class_2561;
      named method_44551 Lnet/minecraft/class_7557;method_44551()Lnet/minecraft/text/Text;
    • method_44553

      public boolean method_44553(UUID uUID)
      Specified by:
      method_44553 in interface class_7557
      Mappings:
      Namespace Name Mixin selector
      official a Leuj;a(Ljava/util/UUID;)Z
      intermediary method_44553 Lnet/minecraft/class_7557;method_44553(Ljava/util/UUID;)Z
      named method_44553 Lnet/minecraft/class_7557;method_44553(Ljava/util/UUID;)Z
    • 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.
    • message

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

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