Package net.minecraft

Record Class class_10451.class_10454<P extends class_10494<T>,T>

java.lang.Object
java.lang.Record
net.minecraft.class_10451.class_10454<P,T>
Record Components:
property -
cases -
Enclosing class:
class_10451<T>

@Environment(CLIENT) public static record class_10451.class_10454<P extends class_10494<T>,T>(P extends class_10494<T> property, List<class_10451.class_10452<T>> cases) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10451$class_10454
intermediary net/minecraft/class_10451$class_10454
official hbo$c
named property
intermediary comp_3403
official b
named cases
intermediary comp_3404
official c
  • Field Details

    • property

      private final P extends class_10494<T> property
      The field for the property record component.
    • cases

      private final List<class_10451.class_10452<T>> cases
      The field for the cases record component.
    • field_55365

      public static final com.mojang.serialization.MapCodec<class_10451.class_10454<?,?>> field_55365
      Mappings:
      Namespace Name Mixin selector
      named field_55365 Lnet/minecraft/class_10451$class_10454;field_55365:Lcom/mojang/serialization/MapCodec;
      intermediary field_55365 Lnet/minecraft/class_10451$class_10454;field_55365:Lcom/mojang/serialization/MapCodec;
      official a Lhbo$c;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • method_65633

      public class_10439 method_65633(class_10439.class_10440 class_10440, class_10439 class_10439)
      Mappings:
      Namespace Name Mixin selector
      named method_65633 Lnet/minecraft/class_10451$class_10454;method_65633(Lnet/minecraft/class_10439$class_10440;Lnet/minecraft/class_10439;)Lnet/minecraft/class_10439;
      intermediary method_65633 Lnet/minecraft/class_10451$class_10454;method_65633(Lnet/minecraft/class_10439$class_10440;Lnet/minecraft/class_10439;)Lnet/minecraft/class_10439;
      official a Lhbo$c;a(Lhbi$a;Lhbi;)Lhbi;
    • method_65635

      public void method_65635(class_10526.Resolver resolver)
      Mappings:
      Namespace Name Mixin selector
      named method_65635 Lnet/minecraft/class_10451$class_10454;method_65635(Lnet/minecraft/class_10526$Resolver;)V
      intermediary method_65635 Lnet/minecraft/class_10451$class_10454;method_65635(Lnet/minecraft/class_10526$class_10103;)V
      official a Lhbo$c;a(Lhhd$a;)V
    • 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.
    • property

      public P property()
      Returns the value of the property record component.
      Returns:
      the value of the property record component
    • cases

      public List<class_10451.class_10452<T>> cases()
      Returns the value of the cases record component.
      Returns:
      the value of the cases record component