类 DemoScreen

    • 字段详细资料

      • DEMO_BG

        private static final Identifier DEMO_BG
        Mappings:
        Namespace Name Mixin selector
        official a Ldyl;a:Lwp;
        intermediary field_2447 Lnet/minecraft/class_417;field_2447:Lnet/minecraft/class_2960;
        named DEMO_BG Lnet/minecraft/client/gui/screen/DemoScreen;DEMO_BG:Lnet/minecraft/util/Identifier;
      • field_26538

        private MultilineText field_26538
        Mappings:
        Namespace Name Mixin selector
        official b Ldyl;b:Ldwi;
        intermediary field_26538 Lnet/minecraft/class_417;field_26538:Lnet/minecraft/class_5489;
        named field_26538 Lnet/minecraft/client/gui/screen/DemoScreen;field_26538:Lnet/minecraft/client/font/MultilineText;
      • field_26539

        private MultilineText field_26539
        Mappings:
        Namespace Name Mixin selector
        official c Ldyl;c:Ldwi;
        intermediary field_26539 Lnet/minecraft/class_417;field_26539:Lnet/minecraft/class_5489;
        named field_26539 Lnet/minecraft/client/gui/screen/DemoScreen;field_26539:Lnet/minecraft/client/font/MultilineText;
    • 构造器详细资料

      • DemoScreen

        public DemoScreen()
    • 方法详细资料

      • init

        protected void init()
        Called when a screen should be initialized.

        This method is called when this screen is opened or resized.

        覆盖:
        init 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official b Ldzg;b()V
        intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
        named init Lnet/minecraft/client/gui/screen/Screen;init()V
      • renderBackground

        public void renderBackground​(MatrixStack matrices)
        Renders the background of this screen.

        If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

        覆盖:
        renderBackground 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldzg;a(Ldpi;)V
        intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_4587;)V
        named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
      • render

        public void render​(MatrixStack matrices,
                           int mouseX,
                           int mouseY,
                           float delta)
        指定者:
        render 在接口中 Drawable
        覆盖:
        render 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldws;a(Ldpi;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