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
named net/minecraft/client/realms/util/TextRenderingUtils$LineSegment
intermediary net/minecraft/class_4450$class_4452
official fey$b
  • Field Details

    • fullText

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

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

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

    • LineSegment

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

      private LineSegment(String fullText, @Nullable @Nullable String linkTitle, @Nullable @Nullable String linkUrl)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;<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
      official <init> Lfey$b;<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
      named equals Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4450$class_4452;equals(Ljava/lang/Object;)Z
      official equals Lfey$b;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
      named renderedText Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;renderedText()Ljava/lang/String;
      intermediary method_21580 Lnet/minecraft/class_4450$class_4452;method_21580()Ljava/lang/String;
      official a Lfey$b;a()Ljava/lang/String;
    • isLink

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

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

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

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