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
official erg
intermediary net/minecraft/class_8538
named net/minecraft/client/font/TextRenderLayerSet
official a
intermediary comp_1501
named normal
official b
intermediary comp_1502
named seeThrough
official c
intermediary comp_1503
named polygonOffset
  • Field Details

  • Constructor Details

  • Method Details

    • ofIntensity

      public static TextRenderLayerSet ofIntensity(Identifier textureId)
      Mappings:
      Namespace Name Mixin selector
      official a Lerg;a(Lacq;)Lerg;
      intermediary method_51641 Lnet/minecraft/class_8538;method_51641(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8538;
      named ofIntensity Lnet/minecraft/client/font/TextRenderLayerSet;ofIntensity(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/font/TextRenderLayerSet;
    • of

      public static TextRenderLayerSet of(Identifier textureId)
      Mappings:
      Namespace Name Mixin selector
      official b Lerg;b(Lacq;)Lerg;
      intermediary method_51643 Lnet/minecraft/class_8538;method_51643(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8538;
      named of Lnet/minecraft/client/font/TextRenderLayerSet;of(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/font/TextRenderLayerSet;
    • getRenderLayer

      public RenderLayer getRenderLayer(TextRenderer.TextLayerType layerType)
      Mappings:
      Namespace Name Mixin selector
      official a Lerg;a(Leon$a;)Lfju;
      intermediary method_51642 Lnet/minecraft/class_8538;method_51642(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;
      named getRenderLayer Lnet/minecraft/client/font/TextRenderLayerSet;getRenderLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • normal

      public RenderLayer normal()
      Returns the value of the normal record component.
      Returns:
      the value of the normal record component
    • seeThrough

      public RenderLayer seeThrough()
      Returns the value of the seeThrough record component.
      Returns:
      the value of the seeThrough record component
    • polygonOffset

      public RenderLayer polygonOffset()
      Returns the value of the polygonOffset record component.
      Returns:
      the value of the polygonOffset record component