Package net.minecraft.client.font
Record Class TextRenderLayerSet
java.lang.Object
java.lang.Record
net.minecraft.client.font.TextRenderLayerSet
- Record Components:
normal
-seeThrough
-polygonOffset
-
@Environment(CLIENT)
public record TextRenderLayerSet(RenderLayer normal, RenderLayer seeThrough, RenderLayer polygonOffset)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/font/TextRenderLayerSet
intermediary net/minecraft/class_8538
official fqz
named normal
intermediary comp_1501
official a
named seeThrough
intermediary comp_1502
official b
named polygonOffset
intermediary comp_1503
official c
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RenderLayer
The field for thenormal
record component.private final RenderLayer
The field for thepolygonOffset
record component.private final RenderLayer
The field for theseeThrough
record component. -
Constructor Summary
ConstructorDescriptionTextRenderLayerSet
(RenderLayer renderLayer, RenderLayer renderLayer2, RenderLayer renderLayer3) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.getRenderLayer
(TextRenderer.TextLayerType layerType) final int
hashCode()
Returns a hash code value for this object.normal()
Returns the value of thenormal
record component.static TextRenderLayerSet
of
(Identifier textureId) static TextRenderLayerSet
ofIntensity
(Identifier textureId) Returns the value of thepolygonOffset
record component.Returns the value of theseeThrough
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
normal
The field for thenormal
record component. -
seeThrough
The field for theseeThrough
record component. -
polygonOffset
The field for thepolygonOffset
record component.
-
-
Constructor Details
-
TextRenderLayerSet
public TextRenderLayerSet(RenderLayer renderLayer, RenderLayer renderLayer2, RenderLayer renderLayer3)
-
-
Method Details
-
ofIntensity
- Mappings:
Namespace Name Mixin selector named ofIntensity
Lnet/minecraft/client/font/TextRenderLayerSet;ofIntensity(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/font/TextRenderLayerSet;
intermediary method_51641
Lnet/minecraft/class_8538;method_51641(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8538;
official a
Lfqz;a(Lalz;)Lfqz;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/client/font/TextRenderLayerSet;of(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/font/TextRenderLayerSet;
intermediary method_51643
Lnet/minecraft/class_8538;method_51643(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8538;
official b
Lfqz;b(Lalz;)Lfqz;
-
getRenderLayer
- Mappings:
Namespace Name Mixin selector named getRenderLayer
Lnet/minecraft/client/font/TextRenderLayerSet;getRenderLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;
intermediary method_51642
Lnet/minecraft/class_8538;method_51642(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;
official a
Lfqz;a(Lfnp$a;)Lglu;
-
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 thenormal
record component.- Returns:
- the value of the
normal
record component
-
seeThrough
Returns the value of theseeThrough
record component.- Returns:
- the value of the
seeThrough
record component
-
polygonOffset
Returns the value of thepolygonOffset
record component.- Returns:
- the value of the
polygonOffset
record component
-