Package net.minecraft.client.realms.util
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 dpd$b
intermediary net/minecraft/class_4450$class_4452
named net/minecraft/client/realms/util/TextRenderingUtils$LineSegment
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
LineSegment(String fullText)
private
LineSegment(String fullText, String linkTitle, String linkUrl)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
String
getLinkUrl()
int
hashCode()
boolean
isLink()
static TextRenderingUtils.LineSegment
link(String linkTitle, String linkUrl)
String
renderedText()
protected static TextRenderingUtils.LineSegment
text(String fullText)
String
toString()
-
Field Details
-
fullText
- Mappings:
Namespace Name Mixin selector official a
Ldpd$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
- Mappings:
Namespace Name Mixin selector official b
Ldpd$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
- Mappings:
Namespace Name Mixin selector official c
Ldpd$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
- Mappings:
Namespace Name Mixin selector official <init>
Ldpd$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
- Mappings:
Namespace Name Mixin selector official <init>
Ldpd$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
- Overrides:
equals
in classObject
- Mappings:
Namespace Name Mixin selector official equals
Ldpd$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() -
toString
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Ldpd$b;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_4450$class_4452;toString()Ljava/lang/String;
named toString
Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;toString()Ljava/lang/String;
-
renderedText
- Mappings:
Namespace Name Mixin selector official a
Ldpd$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
Ldpd$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
- Mappings:
Namespace Name Mixin selector official c
Ldpd$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
- Mappings:
Namespace Name Mixin selector official a
Ldpd$b;a(Ljava/lang/String;Ljava/lang/String;)Ldpd$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
- Mappings:
Namespace Name Mixin selector official a
Ldpd$b;a(Ljava/lang/String;)Ldpd$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;
-