Package net.minecraft.client.font
Record Class BakedGlyph.DrawnGlyph
java.lang.Object
java.lang.Record
net.minecraft.client.font.BakedGlyph.DrawnGlyph
- Record Components:
x
-y
-color
-shadowColor
-glyph
-style
-boldOffset
-shadowOffset
-
- Enclosing class:
BakedGlyph
@Environment(CLIENT)
public static record BakedGlyph.DrawnGlyph(float x, float y, int color, int shadowColor, BakedGlyph glyph, Style style, float boldOffset, float shadowOffset)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/font/BakedGlyph$DrawnGlyph
intermediary net/minecraft/class_382$class_10364
official gar$b
named x
intermediary comp_3313
official a
named y
intermediary comp_3314
official b
named color
intermediary comp_3315
official c
named shadowColor
intermediary comp_3338
official d
named glyph
intermediary comp_3316
official e
named style
intermediary comp_3317
official f
named boldOffset
intermediary comp_3318
official g
named shadowOffset
intermediary comp_3339
official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
The field for theboldOffset
record component.private final int
The field for thecolor
record component.private final BakedGlyph
The field for theglyph
record component.private final int
The field for theshadowColor
record component.private final float
The field for theshadowOffset
record component.private final Style
The field for thestyle
record component.private final float
The field for thex
record component.private final float
The field for they
record component. -
Constructor Summary
ConstructorsConstructorDescriptionDrawnGlyph
(float float2, float float3, int int2, int int3, BakedGlyph bakedGlyph, Style style, float float4, float float5) -
Method Summary
Modifier and TypeMethodDescriptionfloat
Returns the value of theboldOffset
record component.int
color()
Returns the value of thecolor
record component.final boolean
Indicates whether some other object is "equal to" this one.float
float
float
float
glyph()
Returns the value of theglyph
record component.final int
hashCode()
Returns a hash code value for this object.(package private) boolean
int
Returns the value of theshadowColor
record component.float
Returns the value of theshadowOffset
record component.style()
Returns the value of thestyle
record component.final String
toString()
Returns a string representation of this record class.float
x()
Returns the value of thex
record component.float
y()
Returns the value of they
record component.
-
Field Details
-
x
private final float xThe field for thex
record component. -
y
private final float yThe field for they
record component. -
color
private final int colorThe field for thecolor
record component. -
shadowColor
private final int shadowColorThe field for theshadowColor
record component. -
glyph
The field for theglyph
record component. -
style
The field for thestyle
record component. -
boldOffset
private final float boldOffsetThe field for theboldOffset
record component. -
shadowOffset
private final float shadowOffsetThe field for theshadowOffset
record component.
-
-
Constructor Details
-
DrawnGlyph
public DrawnGlyph(float float2, float float3, int int2, int int3, BakedGlyph bakedGlyph, Style style, float float4, float float5)
-
-
Method Details
-
getEffectiveMinX
public float getEffectiveMinX()- Mappings:
Namespace Name Mixin selector named getEffectiveMinX
Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;getEffectiveMinX()F
intermediary method_71833
Lnet/minecraft/class_382$class_10364;method_71833()F
official a
Lgar$b;a()F
-
getEffectiveMinY
public float getEffectiveMinY()- Mappings:
Namespace Name Mixin selector named getEffectiveMinY
Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;getEffectiveMinY()F
intermediary method_71834
Lnet/minecraft/class_382$class_10364;method_71834()F
official b
Lgar$b;b()F
-
getEffectiveMaxX
public float getEffectiveMaxX()- Mappings:
Namespace Name Mixin selector named getEffectiveMaxX
Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;getEffectiveMaxX()F
intermediary method_71835
Lnet/minecraft/class_382$class_10364;method_71835()F
official c
Lgar$b;c()F
-
getEffectiveMaxY
public float getEffectiveMaxY()- Mappings:
Namespace Name Mixin selector named getEffectiveMaxY
Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;getEffectiveMaxY()F
intermediary method_71836
Lnet/minecraft/class_382$class_10364;method_71836()F
official d
Lgar$b;d()F
-
hasShadow
boolean hasShadow()- Mappings:
Namespace Name Mixin selector named hasShadow
Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;hasShadow()Z
intermediary method_65184
Lnet/minecraft/class_382$class_10364;method_65184()Z
official m
Lgar$b;m()Z
-
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 '=='. -
x
public float x()Returns the value of thex
record component.- Returns:
- the value of the
x
record component
-
y
public float y()Returns the value of they
record component.- Returns:
- the value of the
y
record component
-
color
public int color()Returns the value of thecolor
record component.- Returns:
- the value of the
color
record component
-
shadowColor
public int shadowColor()Returns the value of theshadowColor
record component.- Returns:
- the value of the
shadowColor
record component
-
glyph
Returns the value of theglyph
record component.- Returns:
- the value of the
glyph
record component
-
style
Returns the value of thestyle
record component.- Returns:
- the value of the
style
record component
-
boldOffset
public float boldOffset()Returns the value of theboldOffset
record component.- Returns:
- the value of the
boldOffset
record component
-
shadowOffset
public float shadowOffset()Returns the value of theshadowOffset
record component.- Returns:
- the value of the
shadowOffset
record component
-