Class OrderedTextTooltipComponent

java.lang.Object
net.minecraft.client.gui.tooltip.OrderedTextTooltipComponent
All Implemented Interfaces:
TooltipComponent

@Environment(CLIENT) public class OrderedTextTooltipComponent extends Object implements TooltipComponent
Mappings:
Namespace Name
named net/minecraft/client/gui/tooltip/OrderedTextTooltipComponent
intermediary net/minecraft/class_5683
official fwg
  • Field Details

    • text

      private final OrderedText text
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/client/gui/tooltip/OrderedTextTooltipComponent;text:Lnet/minecraft/text/OrderedText;
      intermediary field_27997 Lnet/minecraft/class_5683;field_27997:Lnet/minecraft/class_5481;
      official a Lfwg;a:Lazq;
  • Constructor Details

    • OrderedTextTooltipComponent

      public OrderedTextTooltipComponent(OrderedText text)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/tooltip/OrderedTextTooltipComponent;<init>(Lnet/minecraft/text/OrderedText;)V
      intermediary <init> Lnet/minecraft/class_5683;<init>(Lnet/minecraft/class_5481;)V
      official <init> Lfwg;<init>(Lazq;)V
  • Method Details

    • getWidth

      public int getWidth(TextRenderer textRenderer)
      Specified by:
      getWidth in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/gui/tooltip/TooltipComponent;getWidth(Lnet/minecraft/client/font/TextRenderer;)I
      intermediary method_32664 Lnet/minecraft/class_5684;method_32664(Lnet/minecraft/class_327;)I
      official b Lfwh;b(Lfnp;)I
    • getHeight

      public int getHeight(TextRenderer textRenderer)
      Specified by:
      getHeight in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight(Lnet/minecraft/client/font/TextRenderer;)I
      intermediary method_32661 Lnet/minecraft/class_5684;method_32661(Lnet/minecraft/class_327;)I
      official a Lfwh;a(Lfnp;)I
    • drawText

      public void drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers)
      Specified by:
      drawText in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named drawText Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawText(Lnet/minecraft/client/font/TextRenderer;IILorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
      intermediary method_32665 Lnet/minecraft/class_5684;method_32665(Lnet/minecraft/class_327;IILorg/joml/Matrix4f;Lnet/minecraft/class_4597$class_4598;)V
      official a Lfwh;a(Lfnp;IILorg/joml/Matrix4f;Lglk$a;)V