Package net.minecraft

Record Class class_10451.class_10453

java.lang.Object
java.lang.Record
net.minecraft.class_10451.class_10453
Record Components:
unbakedSwitch -
fallback -
All Implemented Interfaces:
class_10439.class_10441, class_10526
Enclosing class:
class_10451<T>

@Environment(CLIENT) public static record class_10451.class_10453(class_10451.class_10454<?,?> unbakedSwitch, Optional<class_10439.class_10441> fallback) extends Record implements class_10439.class_10441
Mappings:
Namespace Name
named net/minecraft/class_10451$class_10453
intermediary net/minecraft/class_10451$class_10453
official hbo$b
named unbakedSwitch
intermediary comp_3401
official b
named fallback
intermediary comp_3402
official c
  • Field Details

    • unbakedSwitch

      private final class_10451.class_10454<?,?> unbakedSwitch
      The field for the unbakedSwitch record component.
    • fallback

      private final Optional<class_10439.class_10441> fallback
      The field for the fallback record component.
    • field_55364

      public static final com.mojang.serialization.MapCodec<class_10451.class_10453> field_55364
      Mappings:
      Namespace Name Mixin selector
      named field_55364 Lnet/minecraft/class_10451$class_10453;field_55364:Lcom/mojang/serialization/MapCodec;
      intermediary field_55364 Lnet/minecraft/class_10451$class_10453;field_55364:Lcom/mojang/serialization/MapCodec;
      official a Lhbo$b;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • method_65585

      public com.mojang.serialization.MapCodec<class_10451.class_10453> method_65585()
      Specified by:
      method_65585 in interface class_10439.class_10441
      Mappings:
      Namespace Name Mixin selector
      named method_65585 Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;
      intermediary method_65585 Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;
      official a Lhbi$b;a()Lcom/mojang/serialization/MapCodec;
    • method_65587

      public class_10439 method_65587(class_10439.class_10440 class_10440)
      Specified by:
      method_65587 in interface class_10439.class_10441
      Mappings:
      Namespace Name Mixin selector
      named method_65587 Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;
      intermediary method_65587 Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;
      official a Lhbi$b;a(Lhbi$a;)Lhbi;
    • resolve

      public void resolve(class_10526.Resolver resolver)
      Specified by:
      resolve in interface class_10526
      Mappings:
      Namespace Name Mixin selector
      named resolve Lnet/minecraft/class_10526;resolve(Lnet/minecraft/class_10526$Resolver;)V
      intermediary method_62326 Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)V
      official a Lhhd;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.
    • unbakedSwitch

      public class_10451.class_10454<?,?> unbakedSwitch()
      Returns the value of the unbakedSwitch record component.
      Returns:
      the value of the unbakedSwitch record component
    • fallback

      public Optional<class_10439.class_10441> fallback()
      Returns the value of the fallback record component.
      Returns:
      the value of the fallback record component