Class VillagerTradingScreen

All Implemented Interfaces:
IdentifibleBooleanConsumer

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official u Lazd;u:Lorg/apache/logging/log4j/Logger;
      intermediary field_3513 Lnet/minecraft/class_807;field_3513:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
    • VILLAGER_SCREEN

      private static final Identifier VILLAGER_SCREEN
      Mappings:
      Namespace Name Mixin selector
      official v Lazd;v:Ljy;
      intermediary field_3514 Lnet/minecraft/class_807;field_3514:Lnet/minecraft/class_1605;
      named VILLAGER_SCREEN Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;VILLAGER_SCREEN:Lnet/minecraft/util/Identifier;
    • trader

      private Trader trader
      Mappings:
      Namespace Name Mixin selector
      official w Lazd;w:Lacy;
      intermediary field_3515 Lnet/minecraft/class_807;field_3515:Lnet/minecraft/class_83;
      named trader Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;trader:Lnet/minecraft/entity/data/Trader;
    • nextButton

      Mappings:
      Namespace Name Mixin selector
      official x Lazd;x:Lazd$a;
      intermediary field_3516 Lnet/minecraft/class_807;field_3516:Lnet/minecraft/class_807$class_808;
      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 Lazd;y:Lazd$a;
      intermediary field_3517 Lnet/minecraft/class_807;field_3517:Lnet/minecraft/class_807$class_808;
      named previousButton Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;previousButton:Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen$PaginationButton;
    • field_3518

      private int field_3518
      Mappings:
      Namespace Name Mixin selector
      official z Lazd;z:I
      intermediary field_3518 Lnet/minecraft/class_807;field_3518:I
      named field_3518 Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;field_3518:I
    • title

      private Text title
      Mappings:
      Namespace Name Mixin selector
      official A Lazd;A:Leu;
      intermediary field_3512 Lnet/minecraft/class_807;field_3512:Lnet/minecraft/class_1444;
      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> Lazd;<init>(Lwm;Lacy;Ladm;)V
      intermediary <init> Lnet/minecraft/class_807;<init>(Lnet/minecraft/class_1962;Lnet/minecraft/class_83;Lnet/minecraft/class_99;)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 Laxu;b()V
      intermediary method_2795 Lnet/minecraft/class_754;method_2795()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 Layl;b(II)V
      intermediary method_2906 Lnet/minecraft/class_781;method_2906(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 Laxu;e()V
      intermediary method_2804 Lnet/minecraft/class_754;method_2804()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 Laxu;a(Lavs;)V
      intermediary method_2787 Lnet/minecraft/class_754;method_2787(Lnet/minecraft/class_685;)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 Layl;a(FII)V
      intermediary method_2900 Lnet/minecraft/class_781;method_2900(FII)V
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
    • render

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

      public Trader getTrader()
      Mappings:
      Namespace Name Mixin selector
      official a Lazd;a()Lacy;
      intermediary method_2947 Lnet/minecraft/class_807;method_2947()Lnet/minecraft/class_83;
      named getTrader Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;getTrader()Lnet/minecraft/entity/data/Trader;