Package net.minecraft.client.font
Record Class TextRenderLayerSet
java.lang.Object
java.lang.Record
net.minecraft.client.font.TextRenderLayerSet
- Record Components:
normal-seeThrough-polygonOffset-guiPipeline-
@Environment(CLIENT)
public record TextRenderLayerSet(RenderLayer normal, RenderLayer seeThrough, RenderLayer polygonOffset, RenderPipeline guiPipeline)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/font/TextRenderLayerSetintermediary net/minecraft/class_8538official gibnamed normalintermediary comp_1501official anamed seeThroughintermediary comp_1502official bnamed polygonOffsetintermediary comp_1503official cnamed guiPipelineintermediary comp_4371official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RenderPipelineThe field for theguiPipelinerecord component.private final RenderLayerThe field for thenormalrecord component.private final RenderLayerThe field for thepolygonOffsetrecord component.private final RenderLayerThe field for theseeThroughrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTextRenderLayerSet(RenderLayer renderLayer, RenderLayer renderLayer2, RenderLayer renderLayer3, RenderPipeline renderPipeline) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getRenderLayer(TextRenderer.TextLayerType layerType) Returns the value of theguiPipelinerecord component.final inthashCode()Returns a hash code value for this object.normal()Returns the value of thenormalrecord component.static TextRenderLayerSetof(Identifier textureId) static TextRenderLayerSetofIntensity(Identifier textureId) Returns the value of thepolygonOffsetrecord component.Returns the value of theseeThroughrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
normal
The field for thenormalrecord component. -
seeThrough
The field for theseeThroughrecord component. -
polygonOffset
The field for thepolygonOffsetrecord component. -
guiPipeline
The field for theguiPipelinerecord component.
-
-
Constructor Details
-
TextRenderLayerSet
public TextRenderLayerSet(RenderLayer renderLayer, RenderLayer renderLayer2, RenderLayer renderLayer3, RenderPipeline renderPipeline)
-
-
Method Details
-
ofIntensity
- Mappings:
Namespace Name Mixin selector named ofIntensityLnet/minecraft/client/font/TextRenderLayerSet;ofIntensity(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/font/TextRenderLayerSet;intermediary method_51641Lnet/minecraft/class_8538;method_51641(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8538;official aLgib;a(Lamj;)Lgib;
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/client/font/TextRenderLayerSet;of(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/font/TextRenderLayerSet;intermediary method_51643Lnet/minecraft/class_8538;method_51643(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8538;official bLgib;b(Lamj;)Lgib;
-
getRenderLayer
- Mappings:
Namespace Name Mixin selector named getRenderLayerLnet/minecraft/client/font/TextRenderLayerSet;getRenderLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;intermediary method_51642Lnet/minecraft/class_8538;method_51642(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;official aLgib;a(Lgda$a;)Lhgk;
-
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 withObjects::equals(Object,Object). -
normal
Returns the value of thenormalrecord component.- Returns:
- the value of the
normalrecord component
-
seeThrough
Returns the value of theseeThroughrecord component.- Returns:
- the value of the
seeThroughrecord component
-
polygonOffset
Returns the value of thepolygonOffsetrecord component.- Returns:
- the value of the
polygonOffsetrecord component
-
guiPipeline
Returns the value of theguiPipelinerecord component.- Returns:
- the value of the
guiPipelinerecord component
-