Class VillagerTradingScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.class_4121
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen
net.minecraft.client.gui.screen.ingame.VillagerTradingScreen
- All Implemented Interfaces:
class_4122,class_4123,IdentifibleBooleanConsumer
- Mappings:
Namespace Name official clqintermediary net/minecraft/class_423named net/minecraft/client/gui/screen/ingame/VillagerTradingScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerInventoryprivate static final Loggerprivate intprivate static final Identifierprivate final Textprivate final TraderFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
backgroundHeight, backgroundWidth, cursorDragSlots, focusedSlot, INVENTORY_TEXTURE, isCursorDragging, screenHandler, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, field_20307, field_20308, height, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
ConstructorsConstructorDescriptionVillagerTradingScreen(PlayerInventory inventory, Trader trader, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBackground(float delta, int mouseX, int mouseY) protected voiddrawForeground(int mouseX, int mouseY) protected voidinit()private voidvoidrender(int mouseX, int mouseY, float tickDelta) voidtick()Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
keyPressed, method_1131, method_1134, method_14548, method_14549, method_18607, method_4261, mouseClicked, mouseDragged, mouseReleased, removed, shouldPauseGameMethods inherited from class net.minecraft.client.gui.screen.Screen
confirmResult, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, method_13411, method_14502, method_18423, method_18605, method_18608, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessageMethods inherited from class net.minecraft.class_4121
getFocused, method_18421, method_18424, method_18425, method_18426Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
method_18427, method_18428Methods inherited from interface net.minecraft.class_4123
charTyped, keyReleased, mouseScrolled
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official wLclq;w:Lorg/apache/logging/log4j/Logger;intermediary field_7820Lnet/minecraft/class_423;field_7820:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official xLclq;x:Lpc;intermediary field_6320Lnet/minecraft/class_423;field_6320:Lnet/minecraft/class_1653;named TEXTURELnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
trader
- Mappings:
Namespace Name Mixin selector official yLclq;y:Laxd;intermediary field_1405Lnet/minecraft/class_423;field_1405:Lnet/minecraft/class_1143;named traderLnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;trader:Lnet/minecraft/entity/data/Trader;
-
nextButton
- Mappings:
Namespace Name Mixin selector official zLclq;z:Lclq$a;intermediary field_1406Lnet/minecraft/class_423;field_1406:Lnet/minecraft/class_423$class_424;named nextButtonLnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;nextButton:Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen$PaginationButton;
-
previousButton
- Mappings:
Namespace Name Mixin selector official ALclq;A:Lclq$a;intermediary field_1407Lnet/minecraft/class_423;field_1407:Lnet/minecraft/class_423$class_424;named previousButtonLnet/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 BLclq;B:Iintermediary field_1408Lnet/minecraft/class_423;field_1408:Inamed pageLnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;page:I
-
title
- Mappings:
Namespace Name Mixin selector official CLclq;C:Lij;intermediary field_10486Lnet/minecraft/class_423;field_10486:Lnet/minecraft/class_1982;named titleLnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;title:Lnet/minecraft/text/Text;
-
field_20410
- Mappings:
Namespace Name Mixin selector official DLclq;D:Laof;intermediary field_20410Lnet/minecraft/class_423;field_20410:Lnet/minecraft/class_987;named field_20410Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;field_20410:Lnet/minecraft/entity/player/PlayerInventory;
-
-
Constructor Details
-
VillagerTradingScreen
- Mappings:
Namespace Name Mixin selector official <init>Lclq;<init>(Laof;Laxd;Laxy;)Vintermediary <init>Lnet/minecraft/class_423;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_1143;Lnet/minecraft/class_1150;)Vnamed <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 jLclq;j()Vintermediary method_18745Lnet/minecraft/class_423;method_18745()Vnamed method_18745Lnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;method_18745()V
-
init
protected void init()- Overrides:
initin classHandledScreen- Mappings:
Namespace Name Mixin selector official cLckd;c()Vintermediary method_1044Lnet/minecraft/class_388;method_1044()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
drawForeground
protected void drawForeground(int mouseX, int mouseY) - Overrides:
drawForegroundin classHandledScreen- Mappings:
Namespace Name Mixin selector official cLcky;c(II)Vintermediary method_4262Lnet/minecraft/class_409;method_4262(II)Vnamed drawForegroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(II)V
-
tick
public void tick()- Overrides:
tickin classHandledScreen- Mappings:
Namespace Name Mixin selector official fLckd;f()Vintermediary method_1033Lnet/minecraft/class_388;method_1033()Vnamed tickLnet/minecraft/client/gui/screen/Screen;tick()V
-
drawBackground
protected void drawBackground(float delta, int mouseX, int mouseY) - Specified by:
drawBackgroundin classHandledScreen- Mappings:
Namespace Name Mixin selector official aLcky;a(FII)Vintermediary method_1127Lnet/minecraft/class_409;method_1127(FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
-
render
public void render(int mouseX, int mouseY, float tickDelta) - Overrides:
renderin classHandledScreen- Mappings:
Namespace Name Mixin selector official aLckd;a(IIF)Vintermediary method_1025Lnet/minecraft/class_388;method_1025(IIF)Vnamed renderLnet/minecraft/client/gui/screen/Screen;render(IIF)V
-
getTrader
- Mappings:
Namespace Name Mixin selector official hLclq;h()Laxd;intermediary method_1160Lnet/minecraft/class_423;method_1160()Lnet/minecraft/class_1143;named getTraderLnet/minecraft/client/gui/screen/ingame/VillagerTradingScreen;getTrader()Lnet/minecraft/entity/data/Trader;
-