Package net.minecraft
Record Class class_10437.class_10438
java.lang.Object
java.lang.Record
net.minecraft.class_10437.class_10438
- Record Components:
property-onTrue-onFalse-
- All Implemented Interfaces:
class_10439.class_10441,class_10526
- Enclosing class:
class_10437
@Environment(CLIENT)
public static record class_10437.class_10438(class_10460 property, class_10439.class_10441 onTrue, class_10439.class_10441 onFalse)
extends Record
implements class_10439.class_10441
- Mappings:
Namespace Name named net/minecraft/class_10437$class_10438intermediary net/minecraft/class_10437$class_10438official hbh$anamed propertyintermediary comp_3387official bnamed onTrueintermediary comp_3388official cnamed onFalseintermediary comp_3389official d
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_10526
class_10526.Resolver -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_10437.class_10438> private final class_10439.class_10441The field for theonFalserecord component.private final class_10439.class_10441The field for theonTruerecord component.private final class_10460The field for thepropertyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10438(class_10460 class_10460, class_10439.class_10441 class_10441, class_10439.class_10441 class_104412) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.serialization.MapCodec<class_10437.class_10438> method_65587(class_10439.class_10440 class_10440) onFalse()Returns the value of theonFalserecord component.onTrue()Returns the value of theonTruerecord component.property()Returns the value of thepropertyrecord component.voidresolve(class_10526.Resolver resolver) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
property
The field for thepropertyrecord component. -
onTrue
The field for theonTruerecord component. -
onFalse
The field for theonFalserecord component. -
field_55333
- Mappings:
Namespace Name Mixin selector named field_55333Lnet/minecraft/class_10437$class_10438;field_55333:Lcom/mojang/serialization/MapCodec;intermediary field_55333Lnet/minecraft/class_10437$class_10438;field_55333:Lcom/mojang/serialization/MapCodec;official aLhbh$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10438
public class_10438(class_10460 class_10460, class_10439.class_10441 class_10441, class_10439.class_10441 class_104412)
-
-
Method Details
-
method_65585
- Specified by:
method_65585in interfaceclass_10439.class_10441- Mappings:
Namespace Name Mixin selector named method_65585Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;intermediary method_65585Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;official aLhbi$b;a()Lcom/mojang/serialization/MapCodec;
-
method_65587
- Specified by:
method_65587in interfaceclass_10439.class_10441- Mappings:
Namespace Name Mixin selector named method_65587Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;intermediary method_65587Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;official aLhbi$b;a(Lhbi$a;)Lhbi;
-
resolve
- Specified by:
resolvein interfaceclass_10526- Mappings:
Namespace Name Mixin selector named resolveLnet/minecraft/class_10526;resolve(Lnet/minecraft/class_10526$Resolver;)Vintermediary method_62326Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)Vofficial aLhhd;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
-
onTrue
Returns the value of theonTruerecord component.- Returns:
- the value of the
onTruerecord component
-
onFalse
Returns the value of theonFalserecord component.- Returns:
- the value of the
onFalserecord component
-