Class VillagerTradingScreen

All Implemented Interfaces:
class_4122, class_4123, IdentifibleBooleanConsumer

@Environment(CLIENT) public class VillagerTradingScreen extends HandledScreen
Mappings:
Namespace Name
official clq
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 w Lclq;w: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 x Lclq;x:Lpc;
      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 final Trader trader
      Mappings:
      Namespace Name Mixin selector
      official y Lclq;y:Laxd;
      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 z Lclq;z:Lclq$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 A Lclq;A:Lclq$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 B Lclq;B:I
      intermediary field_1408 Lnet/minecraft/class_423;field_1408:I
      named page Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;page:I
    • title

      private final Text title
      Mappings:
      Namespace Name Mixin selector
      official C Lclq;C:Lij;
      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;
    • field_20410

      private final PlayerInventory field_20410
      Mappings:
      Namespace Name Mixin selector
      official D Lclq;D:Laof;
      intermediary field_20410 Lnet/minecraft/class_423;field_20410:Lnet/minecraft/class_987;
      named field_20410 Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;field_20410:Lnet/minecraft/entity/player/PlayerInventory;
  • Constructor Details

    • VillagerTradingScreen

      public VillagerTradingScreen(PlayerInventory inventory, Trader trader, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lclq;<init>(Laof;Laxd;Laxy;)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

    • method_18745

      private void method_18745()
      Mappings:
      Namespace Name Mixin selector
      official j Lclq;j()V
      intermediary method_18745 Lnet/minecraft/class_423;method_18745()V
      named method_18745 Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;method_18745()V
    • init

      protected void init()
      Overrides:
      init in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official c Lckd;c()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 c Lcky;c(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 f Lckd;f()V
      intermediary method_1033 Lnet/minecraft/class_388;method_1033()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • drawBackground

      protected void drawBackground(float delta, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lcky;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 Lckd;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 h Lclq;h()Laxd;
      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;