Class VillagerTradingScreen

All Implemented Interfaces:
IdentifibleBooleanConsumer

@Environment(CLIENT) public class VillagerTradingScreen extends HandledScreen
Mappings:
Namespace Name
official bgj
intermediary net/minecraft/class_423
named net/minecraft/client/gui/screen/ingame/VillagerTradingScreen
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official u Lbgj;u:Lorg/apache/logging/log4j/Logger;
      intermediary field_7820 Lnet/minecraft/class_423;field_7820:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official v Lbgj;v:Lkl;
      intermediary field_6320 Lnet/minecraft/class_423;field_6320:Lnet/minecraft/class_1653;
      named TEXTURE Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;TEXTURE:Lnet/minecraft/util/Identifier;
    • trader

      private Trader trader
      Mappings:
      Namespace Name Mixin selector
      official w Lbgj;w:Lahf;
      intermediary field_1405 Lnet/minecraft/class_423;field_1405:Lnet/minecraft/class_1143;
      named trader Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;trader:Lnet/minecraft/entity/data/Trader;
    • nextButton

      Mappings:
      Namespace Name Mixin selector
      official x Lbgj;x:Lbgj$a;
      intermediary field_1406 Lnet/minecraft/class_423;field_1406:Lnet/minecraft/class_423$class_424;
      named nextButton Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;nextButton:Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen$PaginationButton;
    • previousButton

      Mappings:
      Namespace Name Mixin selector
      official y Lbgj;y:Lbgj$a;
      intermediary field_1407 Lnet/minecraft/class_423;field_1407:Lnet/minecraft/class_423$class_424;
      named previousButton Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;previousButton:Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen$PaginationButton;
    • page

      private int page
      Mappings:
      Namespace Name Mixin selector
      official z Lbgj;z:I
      intermediary field_1408 Lnet/minecraft/class_423;field_1408:I
      named page Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;page:I
    • title

      private Text title
      Mappings:
      Namespace Name Mixin selector
      official A Lbgj;A:Lew;
      intermediary field_10486 Lnet/minecraft/class_423;field_10486:Lnet/minecraft/class_1982;
      named title Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;title:Lnet/minecraft/text/Text;
  • Constructor Details

    • VillagerTradingScreen

      public VillagerTradingScreen(PlayerInventory inventory, Trader trader, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbgj;<init>(Lzi;Lahf;Laht;)V
      intermediary <init> Lnet/minecraft/class_423;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_1143;Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/data/Trader;Lnet/minecraft/world/World;)V
  • Method Details

    • init

      public void init()
      Overrides:
      init in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official b Lbez;b()V
      intermediary method_1044 Lnet/minecraft/class_388;method_1044()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • drawForeground

      protected void drawForeground(int mouseX, int mouseY)
      Overrides:
      drawForeground in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official b Lbfr;b(II)V
      intermediary method_4262 Lnet/minecraft/class_409;method_4262(II)V
      named drawForeground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(II)V
    • tick

      public void tick()
      Overrides:
      tick in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official e Lbez;e()V
      intermediary method_1033 Lnet/minecraft/class_388;method_1033()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • buttonClicked

      protected void buttonClicked(ButtonWidget button)
      Overrides:
      buttonClicked in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbez;a(Lbcx;)V
      intermediary method_1027 Lnet/minecraft/class_388;method_1027(Lnet/minecraft/class_356;)V
      named buttonClicked Lnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • drawBackground

      protected void drawBackground(float delta, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lbfr;a(FII)V
      intermediary method_1127 Lnet/minecraft/class_409;method_1127(FII)V
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
    • render

      public void render(int mouseX, int mouseY, float tickDelta)
      Overrides:
      render in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lbez;a(IIF)V
      intermediary method_1025 Lnet/minecraft/class_388;method_1025(IIF)V
      named render Lnet/minecraft/client/gui/screen/Screen;render(IIF)V
    • getTrader

      public Trader getTrader()
      Mappings:
      Namespace Name Mixin selector
      official a Lbgj;a()Lahf;
      intermediary method_1160 Lnet/minecraft/class_423;method_1160()Lnet/minecraft/class_1143;
      named getTrader Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;getTrader()Lnet/minecraft/entity/data/Trader;