Package net.minecraft.client.font
Record Class BakedGlyph.Rectangle
java.lang.Object
java.lang.Record
net.minecraft.client.font.BakedGlyph.Rectangle
- Record Components:
- minX-
- minY-
- maxX-
- maxY-
- zIndex-
- color-
- shadowColor-
- shadowOffset-
- Enclosing class:
- BakedGlyph
@Environment(CLIENT)
public static record BakedGlyph.Rectangle(float minX, float minY, float maxX, float maxY, float zIndex, int color, int shadowColor, float shadowOffset)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/font/BakedGlyph$Rectangle- intermediary - net/minecraft/class_382$class_328- official - frq$a- named - minX- intermediary - comp_3307- official - a- named - minY- intermediary - comp_3308- official - b- named - maxX- intermediary - comp_3309- official - c- named - maxY- intermediary - comp_3310- official - d- named - zIndex- intermediary - comp_3311- official - e- named - color- intermediary - comp_3312- official - f- named - shadowColor- intermediary - comp_3336- official - g- named - shadowOffset- intermediary - comp_3337- official - h
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for thecolorrecord component.private final floatThe field for themaxXrecord component.private final floatThe field for themaxYrecord component.private final floatThe field for theminXrecord component.private final floatThe field for theminYrecord component.private final intThe field for theshadowColorrecord component.private final floatThe field for theshadowOffsetrecord component.private final floatThe field for thezIndexrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.(package private) booleanfloatmaxX()Returns the value of themaxXrecord component.floatmaxY()Returns the value of themaxYrecord component.floatminX()Returns the value of theminXrecord component.floatminY()Returns the value of theminYrecord component.intReturns the value of theshadowColorrecord component.floatReturns the value of theshadowOffsetrecord component.final StringtoString()Returns a string representation of this record class.floatzIndex()Returns the value of thezIndexrecord component.
- 
Field Details- 
minXprivate final float minXThe field for theminXrecord component.
- 
minYprivate final float minYThe field for theminYrecord component.
- 
maxXprivate final float maxXThe field for themaxXrecord component.
- 
maxYprivate final float maxYThe field for themaxYrecord component.
- 
zIndexprivate final float zIndexThe field for thezIndexrecord component.
- 
colorprivate final int colorThe field for thecolorrecord component.
- 
shadowColorprivate final int shadowColorThe field for theshadowColorrecord component.
- 
shadowOffsetprivate final float shadowOffsetThe field for theshadowOffsetrecord component.
 
- 
- 
Constructor Details- 
Rectanglepublic Rectangle(float minX, float minY, float maxX, float maxY, float zIndex, int color) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/font/BakedGlyph$Rectangle;<init>(FFFFFI)V- intermediary - <init>- Lnet/minecraft/class_382$class_328;<init>(FFFFFI)V- official - <init>- Lfrq$a;<init>(FFFFFI)V
 
- 
Rectanglepublic Rectangle(float float2, float float3, float float4, float float5, float float6, int int2, int int3, float float7) 
 
- 
- 
Method Details- 
hasShadowboolean hasShadow()- Mappings:
- Namespace - Name - Mixin selector - named - hasShadow- Lnet/minecraft/client/font/BakedGlyph$Rectangle;hasShadow()Z- intermediary - method_65183- Lnet/minecraft/class_382$class_328;method_65183()Z- official - i- Lfrq$a;i()Z
 
- 
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 '=='.
- 
minXpublic float minX()Returns the value of theminXrecord component.- Returns:
- the value of the minXrecord component
 
- 
minYpublic float minY()Returns the value of theminYrecord component.- Returns:
- the value of the minYrecord component
 
- 
maxXpublic float maxX()Returns the value of themaxXrecord component.- Returns:
- the value of the maxXrecord component
 
- 
maxYpublic float maxY()Returns the value of themaxYrecord component.- Returns:
- the value of the maxYrecord component
 
- 
zIndexpublic float zIndex()Returns the value of thezIndexrecord component.- Returns:
- the value of the zIndexrecord component
 
- 
colorpublic int color()Returns the value of thecolorrecord component.- Returns:
- the value of the colorrecord component
 
- 
shadowColorpublic int shadowColor()Returns the value of theshadowColorrecord component.- Returns:
- the value of the shadowColorrecord component
 
- 
shadowOffsetpublic float shadowOffset()Returns the value of theshadowOffsetrecord component.- Returns:
- the value of the shadowOffsetrecord component
 
 
-