类 RealmsLabel

  • 所有已实现的接口:
    Element

    @Environment(CLIENT)
    public class RealmsLabel
    extends Object
    implements Element
    Mappings:
    Namespace Name
    official fan
    intermediary net/minecraft/class_4903
    named net/minecraft/client/realms/RealmsLabel
    • 字段详细资料

      • text

        private final Text text
        Mappings:
        Namespace Name Mixin selector
        official a Lfan;a:Lon;
        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 Lfan;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 Lfan;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 Lfan;d:I
        intermediary field_22822 Lnet/minecraft/class_4903;field_22822:I
        named color Lnet/minecraft/client/realms/RealmsLabel;color:I
    • 构造器详细资料

      • RealmsLabel

        public RealmsLabel​(Text text,
                           int x,
                           int y,
                           int color)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lfan;<init>(Lon;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
    • 方法详细资料

      • render

        public void render​(Screen screen,
                           MatrixStack matrices)
        Mappings:
        Namespace Name Mixin selector
        official a Lfan;a(Ldzg;Ldpi;)V
        intermediary method_25488 Lnet/minecraft/class_4903;method_25488(Lnet/minecraft/class_437;Lnet/minecraft/class_4587;)V
        named render Lnet/minecraft/client/realms/RealmsLabel;render(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/util/math/MatrixStack;)V
      • getText

        public String getText()
        Mappings:
        Namespace Name Mixin selector
        official a Lfan;a()Ljava/lang/String;
        intermediary method_25487 Lnet/minecraft/class_4903;method_25487()Ljava/lang/String;
        named getText Lnet/minecraft/client/realms/RealmsLabel;getText()Ljava/lang/String;