Package net.minecraft.client.font
Record Class UnihexFont.Dimensions
java.lang.Object
java.lang.Record
net.minecraft.client.font.UnihexFont.Dimensions
- Record Components:
- left-
- right-
- Enclosing class:
- UnihexFont
- Mappings:
- Namespace - Name - official - esb$c- intermediary - net/minecraft/class_391$class_8542- named - net/minecraft/client/font/UnihexFont$Dimensions- official - c- intermediary - comp_1506- named - left- official - d- intermediary - comp_1507- named - right
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<UnihexFont.Dimensions>private final intThe field for theleftrecord component.static final com.mojang.serialization.MapCodec<UnihexFont.Dimensions>private final intThe field for therightrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static intgetLeft(int packed) static intgetRight(int packed) final inthashCode()Returns a hash code value for this object.intleft()Returns the value of theleftrecord component.static intpack(int left, int right) intintright()Returns the value of therightrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
leftprivate final int leftThe field for theleftrecord component.
- 
rightprivate final int rightThe field for therightrecord component.
- 
MAP_CODEC- Mappings:
- Namespace - Name - Mixin selector - official - a- Lesb$c;a:Lcom/mojang/serialization/MapCodec;- intermediary - field_44773- Lnet/minecraft/class_391$class_8542;field_44773:Lcom/mojang/serialization/MapCodec;- named - MAP_CODEC- Lnet/minecraft/client/font/UnihexFont$Dimensions;MAP_CODEC:Lcom/mojang/serialization/MapCodec;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - official - b- Lesb$c;b:Lcom/mojang/serialization/Codec;- intermediary - field_44774- Lnet/minecraft/class_391$class_8542;field_44774:Lcom/mojang/serialization/Codec;- named - CODEC- Lnet/minecraft/client/font/UnihexFont$Dimensions;CODEC:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
Dimensionspublic Dimensions(int int2, int int3) 
 
- 
- 
Method Details- 
packedValuepublic int packedValue()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lesb$c;a()I- intermediary - method_51670- Lnet/minecraft/class_391$class_8542;method_51670()I- named - packedValue- Lnet/minecraft/client/font/UnihexFont$Dimensions;packedValue()I
 
- 
packpublic static int pack(int left, int right) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lesb$c;a(II)I- intermediary - method_51672- Lnet/minecraft/class_391$class_8542;method_51672(II)I- named - pack- Lnet/minecraft/client/font/UnihexFont$Dimensions;pack(II)I
 
- 
getLeftpublic static int getLeft(int packed) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lesb$c;a(I)I- intermediary - method_51671- Lnet/minecraft/class_391$class_8542;method_51671(I)I- named - getLeft- Lnet/minecraft/client/font/UnihexFont$Dimensions;getLeft(I)I
 
- 
getRightpublic static int getRight(int packed) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lesb$c;b(I)I- intermediary - method_51674- Lnet/minecraft/class_391$class_8542;method_51674(I)I- named - getRight- Lnet/minecraft/client/font/UnihexFont$Dimensions;getRight(I)I
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
leftpublic int left()Returns the value of theleftrecord component.- Returns:
- the value of the leftrecord component
 
- 
rightpublic int right()Returns the value of therightrecord component.- Returns:
- the value of the rightrecord component
 
 
-