Package net.minecraft
Record Class class_11420
java.lang.Object
java.lang.Record
net.minecraft.class_11420
- Record Components:
common-dialogs-onCancel-columns--
- All Implemented Interfaces:
class_11414,class_11419
public record class_11420(class_11417 common, RegistryEntryList<class_11419> dialogs, Optional<ClickEvent> onCancel, int columns, int buttonWidth)
extends Record
implements class_11414
- Mappings:
Namespace Name named net/minecraft/class_11420intermediary net/minecraft/class_11420official arsnamed commonintermediary comp_4305official gnamed dialogsintermediary comp_4308official hnamed onCancelintermediary comp_4309official inamed columnsintermediary comp_4310official jnamed buttonWidthintermediary comp_4311official k
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thebuttonWidthrecord component.private final intThe field for thecolumnsrecord component.private final class_11417The field for thecommonrecord component.private final RegistryEntryList<class_11419> The field for thedialogsrecord component.static final com.mojang.serialization.MapCodec<class_11420> private final Optional<ClickEvent> The field for theonCancelrecord component.Fields inherited from interface net.minecraft.class_11419
field_60620, field_60621, field_60622, field_60623, field_60624 -
Constructor Summary
ConstructorsConstructorDescriptionclass_11420(class_11417 class_11417, RegistryEntryList<class_11419> registryEntryList, Optional<ClickEvent> optional, int int2, int int3) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebuttonWidthrecord component.intcolumns()Returns the value of thecolumnsrecord component.common()Returns the value of thecommonrecord component.dialogs()Returns the value of thedialogsrecord component.final 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_11420> onCancel()Returns the value of theonCancelrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
common
The field for thecommonrecord component. -
dialogs
The field for thedialogsrecord component. -
onCancel
The field for theonCancelrecord component. -
columns
private final int columnsThe field for thecolumnsrecord component. -
buttonWidth
private final int buttonWidthThe field for thebuttonWidthrecord component. -
field_60625
- Mappings:
Namespace Name Mixin selector named field_60625Lnet/minecraft/class_11420;field_60625:Lcom/mojang/serialization/MapCodec;intermediary field_60625Lnet/minecraft/class_11420;field_60625:Lcom/mojang/serialization/MapCodec;official aLars;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11420
public class_11420(class_11417 class_11417, RegistryEntryList<class_11419> registryEntryList, Optional<ClickEvent> optional, int int2, int int3)
-
-
Method Details
-
method_71692
- Specified by:
method_71692in interfaceclass_11414- Specified by:
method_71692in interfaceclass_11419- 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
common
Returns the value of thecommonrecord component.- Specified by:
commonin interfaceclass_11419- Returns:
- the value of the
commonrecord component
-
dialogs
Returns the value of thedialogsrecord component.- Returns:
- the value of the
dialogsrecord component
-
onCancel
Returns the value of theonCancelrecord component.- Specified by:
onCancelin interfaceclass_11419- Returns:
- the value of the
onCancelrecord component
-
columns
public int columns()Returns the value of thecolumnsrecord component.- Specified by:
columnsin interfaceclass_11414- Returns:
- the value of the
columnsrecord component
-
buttonWidth
public int buttonWidth()Returns the value of thebuttonWidthrecord component.- Returns:
- the value of the
buttonWidthrecord component
-