Class RealmsLabel

java.lang.Object
net.minecraft.client.realms.RealmsLabel
All Implemented Interfaces:
Drawable

@Environment(CLIENT) public class RealmsLabel extends Object implements Drawable
Mappings:
Namespace Name
official gaa
intermediary net/minecraft/class_4903
named net/minecraft/client/realms/RealmsLabel
  • Field Details

    • text

      private final Text text
      Mappings:
      Namespace Name Mixin selector
      official a Lgaa;a:Lsw;
      intermediary field_22819 Lnet/minecraft/class_4903;field_22819:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/client/realms/RealmsLabel;text:Lnet/minecraft/text/Text;
    • x

      private final int x
      Mappings:
      Namespace Name Mixin selector
      official b Lgaa;b:I
      intermediary field_22820 Lnet/minecraft/class_4903;field_22820:I
      named x Lnet/minecraft/client/realms/RealmsLabel;x:I
    • y

      private final int y
      Mappings:
      Namespace Name Mixin selector
      official c Lgaa;c:I
      intermediary field_22821 Lnet/minecraft/class_4903;field_22821:I
      named y Lnet/minecraft/client/realms/RealmsLabel;y:I
    • color

      private final int color
      Mappings:
      Namespace Name Mixin selector
      official d Lgaa;d:I
      intermediary field_22822 Lnet/minecraft/class_4903;field_22822:I
      named color Lnet/minecraft/client/realms/RealmsLabel;color:I
  • Constructor Details

    • RealmsLabel

      public RealmsLabel(Text text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgaa;<init>(Lsw;III)V
      intermediary <init> Lnet/minecraft/class_4903;<init>(Lnet/minecraft/class_2561;III)V
      named <init> Lnet/minecraft/client/realms/RealmsLabel;<init>(Lnet/minecraft/text/Text;III)V
  • Method Details

    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Mappings:
      Namespace Name Mixin selector
      official a Lepy;a(Leop;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • getText

      public Text getText()
      Mappings:
      Namespace Name Mixin selector
      official a Lgaa;a()Lsw;
      intermediary method_25487 Lnet/minecraft/class_4903;method_25487()Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/client/realms/RealmsLabel;getText()Lnet/minecraft/text/Text;