Package net.minecraft
Record Class class_9962.class_9963
java.lang.Object
java.lang.Record
net.minecraft.class_9962.class_9963
- Record Components:
width-height-
- All Implemented Interfaces:
class_9962.class_9966
- Enclosing class:
class_9962
@Environment(CLIENT)
public static record class_9962.class_9963(int width, int height)
extends Record
implements class_9962.class_9966
- Mappings:
Namespace Name named net/minecraft/class_9962$class_9963intermediary net/minecraft/class_9962$class_9963official ggz$anamed widthintermediary comp_3018official cnamed heightintermediary comp_3019official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_9962.class_9963> private final intThe field for theheightrecord component.private final intThe field for thewidthrecord component.Fields inherited from interface net.minecraft.class_9962.class_9966
field_53115 -
Constructor Summary
Constructors -
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.intheight()Returns the value of theheightrecord component.final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.
-
Field Details
-
width
private final int widthThe field for thewidthrecord component. -
height
private final int heightThe field for theheightrecord component. -
field_53112
- Mappings:
Namespace Name Mixin selector named field_53112Lnet/minecraft/class_9962$class_9963;field_53112:Lcom/mojang/serialization/Codec;intermediary field_53112Lnet/minecraft/class_9962$class_9963;field_53112:Lcom/mojang/serialization/Codec;official aLggz$a;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_9963
public class_9963(int int2, int int3)
-
-
Method Details
-
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 with '=='. -
width
public int width()Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
height
public int height()Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-