Package net.minecraft.client.font
Interface MultilineText
- Mappings:
Namespace Name named net/minecraft/client/font/MultilineText
intermediary net/minecraft/class_5489
official fhz
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
count()
static MultilineText
create
(TextRenderer textRenderer, List<MultilineText.Line> lines) static MultilineText
create
(TextRenderer renderer, StringVisitable text, int width) static MultilineText
create
(TextRenderer renderer, StringVisitable text, int width, int maxLines) static MultilineText
create
(TextRenderer renderer, Text[] texts) static MultilineText
createFromTexts
(TextRenderer renderer, List<Text> texts) int
draw
(DrawContext context, int x, int y, int lineHeight, int color) int
drawCenterWithShadow
(DrawContext context, int x, int y) int
drawCenterWithShadow
(DrawContext context, int x, int y, int lineHeight, int color) int
drawWithShadow
(DrawContext context, int x, int y, int lineHeight, int color) void
fillBackground
(DrawContext context, int centerX, int centerY, int lineHeight, int padding, int color) int
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/client/font/MultilineText;EMPTY:Lnet/minecraft/client/font/MultilineText;
intermediary field_26528
Lnet/minecraft/class_5489;field_26528:Lnet/minecraft/class_5489;
official a
Lfhz;a:Lfhz;
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/StringVisitable;I)Lnet/minecraft/client/font/MultilineText;
intermediary method_30890
Lnet/minecraft/class_5489;method_30890(Lnet/minecraft/class_327;Lnet/minecraft/class_5348;I)Lnet/minecraft/class_5489;
official a
Lfhz;a(Lfgr;Lxu;I)Lfhz;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/StringVisitable;II)Lnet/minecraft/client/font/MultilineText;
intermediary method_30891
Lnet/minecraft/class_5489;method_30891(Lnet/minecraft/class_327;Lnet/minecraft/class_5348;II)Lnet/minecraft/class_5489;
official a
Lfhz;a(Lfgr;Lxu;II)Lfhz;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;[Lnet/minecraft/text/Text;)Lnet/minecraft/client/font/MultilineText;
intermediary method_30892
Lnet/minecraft/class_5489;method_30892(Lnet/minecraft/class_327;[Lnet/minecraft/class_2561;)Lnet/minecraft/class_5489;
official a
Lfhz;a(Lfgr;[Lxp;)Lfhz;
-
createFromTexts
- Mappings:
Namespace Name Mixin selector named createFromTexts
Lnet/minecraft/client/font/MultilineText;createFromTexts(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;)Lnet/minecraft/client/font/MultilineText;
intermediary method_35726
Lnet/minecraft/class_5489;method_35726(Lnet/minecraft/class_327;Ljava/util/List;)Lnet/minecraft/class_5489;
official a
Lfhz;a(Lfgr;Ljava/util/List;)Lfhz;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;)Lnet/minecraft/client/font/MultilineText;
intermediary method_30895
Lnet/minecraft/class_5489;method_30895(Lnet/minecraft/class_327;Ljava/util/List;)Lnet/minecraft/class_5489;
official b
Lfhz;b(Lfgr;Ljava/util/List;)Lfhz;
-
drawCenterWithShadow
- Mappings:
Namespace Name Mixin selector named drawCenterWithShadow
Lnet/minecraft/client/font/MultilineText;drawCenterWithShadow(Lnet/minecraft/client/gui/DrawContext;II)I
intermediary method_30888
Lnet/minecraft/class_5489;method_30888(Lnet/minecraft/class_332;II)I
official a
Lfhz;a(Lfgt;II)I
-
drawCenterWithShadow
- Mappings:
Namespace Name Mixin selector named drawCenterWithShadow
Lnet/minecraft/client/font/MultilineText;drawCenterWithShadow(Lnet/minecraft/client/gui/DrawContext;IIII)I
intermediary method_30889
Lnet/minecraft/class_5489;method_30889(Lnet/minecraft/class_332;IIII)I
official a
Lfhz;a(Lfgt;IIII)I
-
drawWithShadow
- Mappings:
Namespace Name Mixin selector named drawWithShadow
Lnet/minecraft/client/font/MultilineText;drawWithShadow(Lnet/minecraft/client/gui/DrawContext;IIII)I
intermediary method_30893
Lnet/minecraft/class_5489;method_30893(Lnet/minecraft/class_332;IIII)I
official b
Lfhz;b(Lfgt;IIII)I
-
draw
- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/font/MultilineText;draw(Lnet/minecraft/client/gui/DrawContext;IIII)I
intermediary method_30896
Lnet/minecraft/class_5489;method_30896(Lnet/minecraft/class_332;IIII)I
official c
Lfhz;c(Lfgt;IIII)I
-
fillBackground
void fillBackground(DrawContext context, int centerX, int centerY, int lineHeight, int padding, int color) - Mappings:
Namespace Name Mixin selector named fillBackground
Lnet/minecraft/client/font/MultilineText;fillBackground(Lnet/minecraft/client/gui/DrawContext;IIIII)V
intermediary method_41154
Lnet/minecraft/class_5489;method_41154(Lnet/minecraft/class_332;IIIII)V
official a
Lfhz;a(Lfgt;IIIII)V
-
count
int count()- Mappings:
Namespace Name Mixin selector named count
Lnet/minecraft/client/font/MultilineText;count()I
intermediary method_30887
Lnet/minecraft/class_5489;method_30887()I
official a
Lfhz;a()I
-
getMaxWidth
int getMaxWidth()- Mappings:
Namespace Name Mixin selector named getMaxWidth
Lnet/minecraft/client/font/MultilineText;getMaxWidth()I
intermediary method_44048
Lnet/minecraft/class_5489;method_44048()I
official b
Lfhz;b()I
-