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 fms
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 Lfms;a:Lrm;
      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 Lfms;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 Lfms;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 Lfms;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> Lfms;<init>(Lrm;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(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Mappings:
      Namespace Name Mixin selector
      official a Lehn;a(Ldzt;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • getText

      public Text getText()
      Mappings:
      Namespace Name Mixin selector
      official a Lfms;a()Lrm;
      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;