Package net.minecraft
Record Class class_11431
java.lang.Object
java.lang.Record
net.minecraft.class_11431
- Record Components:
common-inputs-action-
- All Implemented Interfaces:
class_11419,class_11423
public record class_11431(class_11417 common, List<class_11423.class_11424> inputs, class_11423.class_11425 action)
extends Record
implements class_11423
- Mappings:
Namespace Name named net/minecraft/class_11431intermediary net/minecraft/class_11431official asbnamed commonintermediary comp_4305official gnamed inputsintermediary comp_4322official hnamed actionintermediary comp_4323official i
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_11423
class_11423.class_11424, class_11423.class_11425 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11423.class_11425The field for theactionrecord component.private final class_11417The field for thecommonrecord component.static final com.mojang.serialization.MapCodec<class_11431> private final List<class_11423.class_11424> The field for theinputsrecord component.Fields inherited from interface net.minecraft.class_11419
field_60620, field_60621, field_60622, field_60623, field_60624 -
Constructor Summary
ConstructorsConstructorDescriptionclass_11431(class_11417 class_11417, List<class_11423.class_11424> list, class_11423.class_11425 class_11425) -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.common()Returns the value of thecommonrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.inputs()Returns the value of theinputsrecord component.com.mojang.serialization.MapCodec<class_11431> final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_11423
onCancel
-
Field Details
-
common
The field for thecommonrecord component. -
inputs
The field for theinputsrecord component. -
action
The field for theactionrecord component. -
field_60636
- Mappings:
Namespace Name Mixin selector named field_60636Lnet/minecraft/class_11431;field_60636:Lcom/mojang/serialization/MapCodec;intermediary field_60636Lnet/minecraft/class_11431;field_60636:Lcom/mojang/serialization/MapCodec;official aLasb;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11431
public class_11431(class_11417 class_11417, List<class_11423.class_11424> list, class_11423.class_11425 class_11425)
-
-
Method Details
-
method_71692
- Specified by:
method_71692in interfaceclass_11419- Specified by:
method_71692in interfaceclass_11423- Mappings:
Namespace Name Mixin selector named method_71692Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;intermediary method_71692Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;official aLarr;a()Lcom/mojang/serialization/MapCodec;
-
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). -
common
Returns the value of thecommonrecord component.- Specified by:
commonin interfaceclass_11419- Returns:
- the value of the
commonrecord component
-
inputs
Returns the value of theinputsrecord component.- Returns:
- the value of the
inputsrecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-