Package net.minecraft

Record Class class_8376.class_8378

java.lang.Object
java.lang.Record
net.minecraft.class_8376.class_8378
Record Components:
displayName -
changes -
Enclosing class:
class_8376

public static record class_8376.class_8378(Text displayName, List<class_8376.class_8377> changes) extends Record
Mappings:
Namespace Name
official bgp$b
intermediary net/minecraft/class_8376$class_8378
named net/minecraft/class_8376$class_8378
official b
intermediary comp_1390
named displayName
official c
intermediary comp_1391
named changes
  • Field Details

    • displayName

      private final Text displayName
      The field for the displayName record component.
    • changes

      private final List<class_8376.class_8377> changes
      The field for the changes record component.
    • field_43998

      public static final com.mojang.serialization.Codec<class_8376.class_8378> field_43998
      Mappings:
      Namespace Name Mixin selector
      official a Lbgp$b;a:Lcom/mojang/serialization/Codec;
      intermediary field_43998 Lnet/minecraft/class_8376$class_8378;field_43998:Lcom/mojang/serialization/Codec;
      named field_43998 Lnet/minecraft/class_8376$class_8378;field_43998:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_50543

      public boolean method_50543(class_8290 class_8290)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgp$b;a(Lbed;)Z
      intermediary method_50543 Lnet/minecraft/class_8376$class_8378;method_50543(Lnet/minecraft/class_8290;)Z
      named method_50543 Lnet/minecraft/class_8376$class_8378;method_50543(Lnet/minecraft/class_8290;)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.
    • displayName

      public Text displayName()
      Returns the value of the displayName record component.
      Returns:
      the value of the displayName record component
    • changes

      public List<class_8376.class_8377> changes()
      Returns the value of the changes record component.
      Returns:
      the value of the changes record component