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
named net/minecraft/client/realms/RealmsLabel
intermediary net/minecraft/class_4903
official hhu
  • Field Details

    • text

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

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

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

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

    • RealmsLabel

      public RealmsLabel(Text text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/RealmsLabel;<init>(Lnet/minecraft/text/Text;III)V
      intermediary <init> Lnet/minecraft/class_4903;<init>(Lnet/minecraft/class_2561;III)V
      official <init> Lhhu;<init>(Lxv;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
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfpi;a(Lfnr;IIF)V
    • getText

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