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 gvf
  • 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 Lgvf;a:Lxp;
    • 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 Lgvf;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 Lgvf;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 Lgvf;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> Lgvf;<init>(Lxp;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 Lfii;a(Lfgs;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 Lgvf;a()Lxp;