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_10454intermediary net/minecraft/class_10451$class_10454official hbo$cnamed propertyintermediary comp_3403official bnamed casesintermediary comp_3404official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_10451.class_10452<T>> The field for thecasesrecord component.static final com.mojang.serialization.MapCodec<class_10451.class_10454<?, ?>> private final PThe field for thepropertyrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncases()Returns the value of thecasesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_65633(class_10439.class_10440 class_10440, class_10439 class_10439) voidmethod_65635(class_10526.Resolver resolver) property()Returns the value of thepropertyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
property
The field for thepropertyrecord component. -
cases
The field for thecasesrecord component. -
field_55365
- Mappings:
Namespace Name Mixin selector named field_55365Lnet/minecraft/class_10451$class_10454;field_55365:Lcom/mojang/serialization/MapCodec;intermediary field_55365Lnet/minecraft/class_10451$class_10454;field_55365:Lcom/mojang/serialization/MapCodec;official aLhbo$c;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10454
-
-
Method Details
-
method_65633
- Mappings:
Namespace Name Mixin selector named method_65633Lnet/minecraft/class_10451$class_10454;method_65633(Lnet/minecraft/class_10439$class_10440;Lnet/minecraft/class_10439;)Lnet/minecraft/class_10439;intermediary method_65633Lnet/minecraft/class_10451$class_10454;method_65633(Lnet/minecraft/class_10439$class_10440;Lnet/minecraft/class_10439;)Lnet/minecraft/class_10439;official aLhbo$c;a(Lhbi$a;Lhbi;)Lhbi;
-
method_65635
- Mappings:
Namespace Name Mixin selector named method_65635Lnet/minecraft/class_10451$class_10454;method_65635(Lnet/minecraft/class_10526$Resolver;)Vintermediary method_65635Lnet/minecraft/class_10451$class_10454;method_65635(Lnet/minecraft/class_10526$class_10103;)Vofficial aLhbo$c;a(Lhhd$a;)V
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
property
Returns the value of thepropertyrecord component.- Returns:
- the value of the
propertyrecord component
-
cases
Returns the value of thecasesrecord component.- Returns:
- the value of the
casesrecord component
-