Package net.minecraft.client.texture
Record Class SpriteAtlasGlyphs.class_11765
java.lang.Object
java.lang.Record
net.minecraft.client.texture.SpriteAtlasGlyphs.class_11765
- Record Components:
renderTypes-textureView-sprite-x-y-color-shadowColor-shadowOffset-
- All Implemented Interfaces:
TextDrawable
- Enclosing class:
SpriteAtlasGlyphs
@Environment(CLIENT)
private static record SpriteAtlasGlyphs.class_11765(TextRenderLayerSet renderTypes, GpuTextureView textureView, Sprite sprite, float x, float y, int color, int shadowColor, float shadowOffset)
extends Record
implements TextDrawable
- Mappings:
Namespace Name named net/minecraft/client/texture/SpriteAtlasGlyphs$class_11765intermediary net/minecraft/class_11714$class_11765official gdw$anamed renderTypesintermediary comp_4628official anamed textureViewintermediary comp_4629official bnamed spriteintermediary comp_4630official cnamed xintermediary comp_4631official dnamed yintermediary comp_4632official enamed colorintermediary comp_4633official fnamed shadowColorintermediary comp_4634official gnamed shadowOffsetintermediary comp_4635official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thecolorrecord component.private final TextRenderLayerSetThe field for therenderTypesrecord component.private final intThe field for theshadowColorrecord component.private final floatThe field for theshadowOffsetrecord component.private final SpriteThe field for thespriterecord component.private final GpuTextureViewThe field for thetextureViewrecord component.private final floatThe field for thexrecord component.private final floatThe field for theyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11765(TextRenderLayerSet textRenderLayerSet, GpuTextureView gpuTextureView, Sprite sprite, float float2, float float3, int int2, int int3, float float4) -
Method Summary
Modifier and TypeMethodDescriptionintcolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.floatfloatfloatfloatfinal inthashCode()Returns a hash code value for this object.private voidmethod_73402(Matrix4f matrix4f, VertexConsumer vertexConsumer, int int2, float float2, float float3, float float4, int int3) voidrender(Matrix4f matrix4f, VertexConsumer consumer, int LIGHT, boolean noDepth) Returns the value of therenderTypesrecord component.intReturns the value of theshadowColorrecord component.floatReturns the value of theshadowOffsetrecord component.sprite()Returns the value of thespriterecord component.Returns the value of thetextureViewrecord component.final StringtoString()Returns a string representation of this record class.floatx()Returns the value of thexrecord component.floaty()Returns the value of theyrecord component.
-
Field Details
-
renderTypes
The field for therenderTypesrecord component. -
textureView
The field for thetextureViewrecord component. -
sprite
The field for thespriterecord component. -
x
private final float xThe field for thexrecord component. -
y
private final float yThe field for theyrecord component. -
color
private final int colorThe field for thecolorrecord component. -
shadowColor
private final int shadowColorThe field for theshadowColorrecord component. -
shadowOffset
private final float shadowOffsetThe field for theshadowOffsetrecord component.
-
-
Constructor Details
-
class_11765
class_11765(TextRenderLayerSet textRenderLayerSet, GpuTextureView gpuTextureView, Sprite sprite, float float2, float float3, int int2, int int3, float float4)
-
-
Method Details
-
render
- Specified by:
renderin interfaceTextDrawable- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/font/TextDrawable;render(Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZ)Vintermediary method_73403Lnet/minecraft/class_11767;method_73403(Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZ)Vofficial aLgef;a(Lorg/joml/Matrix4f;Lfqi;IZ)V
-
method_73402
private void method_73402(Matrix4f matrix4f, VertexConsumer vertexConsumer, int int2, float float2, float float3, float float4, int int3) - Mappings:
Namespace Name Mixin selector named method_73402Lnet/minecraft/client/texture/SpriteAtlasGlyphs$class_11765;method_73402(Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IFFFI)Vintermediary method_73402Lnet/minecraft/class_11714$class_11765;method_73402(Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IFFFI)Vofficial aLgdw$a;a(Lorg/joml/Matrix4f;Lfqi;IFFFI)V
-
getRenderLayer
- Specified by:
getRenderLayerin interfaceTextDrawable- Mappings:
Namespace Name Mixin selector named getRenderLayerLnet/minecraft/client/font/TextDrawable;getRenderLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;intermediary method_73401Lnet/minecraft/class_11767;method_73401(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;official aLgef;a(Lfzb$a;)Lhbw;
-
getPipeline
- Specified by:
getPipelinein interfaceTextDrawable- Mappings:
Namespace Name Mixin selector named getPipelineLnet/minecraft/client/font/TextDrawable;getPipeline()Lcom/mojang/blaze3d/pipeline/RenderPipeline;intermediary method_73400Lnet/minecraft/class_11767;method_73400()Lcom/mojang/blaze3d/pipeline/RenderPipeline;official aLgef;a()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
-
textureView
Returns the value of thetextureViewrecord component.- Specified by:
textureViewin interfaceTextDrawable- Returns:
- the value of the
textureViewrecord component
-
getEffectiveMinX
public float getEffectiveMinX()- Specified by:
getEffectiveMinXin interfaceTextDrawable- Mappings:
Namespace Name Mixin selector named getEffectiveMinXLnet/minecraft/client/font/TextDrawable;getEffectiveMinX()Fintermediary method_71829Lnet/minecraft/class_11767;method_71829()Fofficial cLgef;c()F
-
getEffectiveMaxX
public float getEffectiveMaxX()- Specified by:
getEffectiveMaxXin interfaceTextDrawable- Mappings:
Namespace Name Mixin selector named getEffectiveMaxXLnet/minecraft/client/font/TextDrawable;getEffectiveMaxX()Fintermediary method_71831Lnet/minecraft/class_11767;method_71831()Fofficial dLgef;d()F
-
getEffectiveMinY
public float getEffectiveMinY()- Specified by:
getEffectiveMinYin interfaceTextDrawable- Mappings:
Namespace Name Mixin selector named getEffectiveMinYLnet/minecraft/client/font/TextDrawable;getEffectiveMinY()Fintermediary method_71830Lnet/minecraft/class_11767;method_71830()Fofficial eLgef;e()F
-
getEffectiveMaxY
public float getEffectiveMaxY()- Specified by:
getEffectiveMaxYin interfaceTextDrawable- Mappings:
Namespace Name Mixin selector named getEffectiveMaxYLnet/minecraft/client/font/TextDrawable;getEffectiveMaxY()Fintermediary method_71832Lnet/minecraft/class_11767;method_71832()Fofficial fLgef;f()F
-
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 '=='. -
renderTypes
Returns the value of therenderTypesrecord component.- Returns:
- the value of the
renderTypesrecord component
-
sprite
Returns the value of thespriterecord component.- Returns:
- the value of the
spriterecord component
-
x
public float x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public float y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
shadowColor
public int shadowColor()Returns the value of theshadowColorrecord component.- Returns:
- the value of the
shadowColorrecord component
-
shadowOffset
public float shadowOffset()Returns the value of theshadowOffsetrecord component.- Returns:
- the value of the
shadowOffsetrecord component
-