Class TextRenderingUtils.LineSegment

java.lang.Object
net.minecraft.client.realms.util.TextRenderingUtils.LineSegment
Enclosing class:
TextRenderingUtils

@Environment(CLIENT) public static class TextRenderingUtils.LineSegment extends Object
Mappings:
Namespace Name
official els$b
intermediary net/minecraft/class_4450$class_4452
named net/minecraft/client/realms/util/TextRenderingUtils$LineSegment
  • Field Details

    • fullText

      private final String fullText
      Mappings:
      Namespace Name Mixin selector
      official a Lels$b;a:Ljava/lang/String;
      intermediary field_20267 Lnet/minecraft/class_4450$class_4452;field_20267:Ljava/lang/String;
      named fullText Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;fullText:Ljava/lang/String;
    • linkTitle

      @Nullable private final @Nullable String linkTitle
      Mappings:
      Namespace Name Mixin selector
      official b Lels$b;b:Ljava/lang/String;
      intermediary field_20268 Lnet/minecraft/class_4450$class_4452;field_20268:Ljava/lang/String;
      named linkTitle Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;linkTitle:Ljava/lang/String;
    • linkUrl

      @Nullable private final @Nullable String linkUrl
      Mappings:
      Namespace Name Mixin selector
      official c Lels$b;c:Ljava/lang/String;
      intermediary field_20269 Lnet/minecraft/class_4450$class_4452;field_20269:Ljava/lang/String;
      named linkUrl Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;linkUrl:Ljava/lang/String;
  • Constructor Details

    • LineSegment

      private LineSegment(String fullText)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lels$b;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4450$class_4452;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;<init>(Ljava/lang/String;)V
    • LineSegment

      private LineSegment(String fullText, @Nullable @Nullable String linkTitle, @Nullable @Nullable String linkUrl)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lels$b;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4450$class_4452;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lels$b;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4450$class_4452;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • renderedText

      public String renderedText()
      Mappings:
      Namespace Name Mixin selector
      official a Lels$b;a()Ljava/lang/String;
      intermediary method_21580 Lnet/minecraft/class_4450$class_4452;method_21580()Ljava/lang/String;
      named renderedText Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;renderedText()Ljava/lang/String;
    • isLink

      public boolean isLink()
      Mappings:
      Namespace Name Mixin selector
      official b Lels$b;b()Z
      intermediary method_21583 Lnet/minecraft/class_4450$class_4452;method_21583()Z
      named isLink Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;isLink()Z
    • getLinkUrl

      public String getLinkUrl()
      Mappings:
      Namespace Name Mixin selector
      official c Lels$b;c()Ljava/lang/String;
      intermediary method_21584 Lnet/minecraft/class_4450$class_4452;method_21584()Ljava/lang/String;
      named getLinkUrl Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;getLinkUrl()Ljava/lang/String;
    • link

      public static TextRenderingUtils.LineSegment link(String linkTitle, String linkUrl)
      Mappings:
      Namespace Name Mixin selector
      official a Lels$b;a(Ljava/lang/String;Ljava/lang/String;)Lels$b;
      intermediary method_21582 Lnet/minecraft/class_4450$class_4452;method_21582(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_4450$class_4452;
      named link Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;link(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;
    • text

      protected static TextRenderingUtils.LineSegment text(String fullText)
      Mappings:
      Namespace Name Mixin selector
      official a Lels$b;a(Ljava/lang/String;)Lels$b;
      intermediary method_21581 Lnet/minecraft/class_4450$class_4452;method_21581(Ljava/lang/String;)Lnet/minecraft/class_4450$class_4452;
      named text Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;text(Ljava/lang/String;)Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;