Package net.minecraft

Record Class class_11428

java.lang.Object
java.lang.Record
net.minecraft.class_11428
Record Components:
common -
button -
All Implemented Interfaces:
class_11419, class_11430

public record class_11428(class_11417 common, class_11415 button) extends Record implements class_11430
Mappings:
Namespace Name
named net/minecraft/class_11428
intermediary net/minecraft/class_11428
official ary
named common
intermediary comp_4305
official h
named button
intermediary comp_4320
official i
  • Field Details

    • common

      private final class_11417 common
      The field for the common record component.
    • button

      private final class_11415 button
      The field for the button record component.
    • field_60633

      public static final class_11415 field_60633
      Mappings:
      Namespace Name Mixin selector
      named field_60633 Lnet/minecraft/class_11428;field_60633:Lnet/minecraft/class_11415;
      intermediary field_60633 Lnet/minecraft/class_11428;field_60633:Lnet/minecraft/class_11415;
      official a Lary;a:Larn;
    • field_60634

      public static final com.mojang.serialization.MapCodec<class_11428> field_60634
      Mappings:
      Namespace Name Mixin selector
      named field_60634 Lnet/minecraft/class_11428;field_60634:Lcom/mojang/serialization/MapCodec;
      intermediary field_60634 Lnet/minecraft/class_11428;field_60634:Lcom/mojang/serialization/MapCodec;
      official g Lary;g:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • method_71692

      public com.mojang.serialization.MapCodec<class_11428> method_71692()
      Specified by:
      method_71692 in interface class_11419
      Specified by:
      method_71692 in interface class_11430
      Mappings:
      Namespace Name Mixin selector
      named method_71692 Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;
      intermediary method_71692 Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;
      official a Larr;a()Lcom/mojang/serialization/MapCodec;
    • onCancel

      public Optional<ClickEvent> onCancel()
      Specified by:
      onCancel in interface class_11419
      Mappings:
      Namespace Name Mixin selector
      named onCancel Lnet/minecraft/class_11419;onCancel()Ljava/util/Optional;
      intermediary comp_4309 Lnet/minecraft/class_11419;comp_4309()Ljava/util/Optional;
      official A_ Larr;A_()Ljava/util/Optional;
    • method_71698

      public List<class_11415> method_71698()
      Specified by:
      method_71698 in interface class_11430
      Mappings:
      Namespace Name Mixin selector
      named method_71698 Lnet/minecraft/class_11430;method_71698()Ljava/util/List;
      intermediary method_71698 Lnet/minecraft/class_11430;method_71698()Ljava/util/List;
      official c Lasa;c()Ljava/util/List;
    • 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.
    • common

      public class_11417 common()
      Returns the value of the common record component.
      Specified by:
      common in interface class_11419
      Returns:
      the value of the common record component
    • button

      public class_11415 button()
      Returns the value of the button record component.
      Returns:
      the value of the button record component