Class AnvilScreen

All Implemented Interfaces:
class_4122, class_4123, IdentifibleBooleanConsumer, ScreenHandlerListener

@Environment(CLIENT) public class AnvilScreen extends HandledScreen implements ScreenHandlerListener
Mappings:
Namespace Name
official ckz
intermediary net/minecraft/class_1330
named net/minecraft/client/gui/screen/ingame/AnvilScreen
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official w Lckz;w:Lpc;
      intermediary field_6302 Lnet/minecraft/class_1330;field_6302:Lnet/minecraft/class_1653;
      named TEXTURE Lnet/minecraft/client/gui/screen/ingame/AnvilScreen;TEXTURE:Lnet/minecraft/util/Identifier;
    • anvilScreenHandler

      private final AnvilScreenHandler anvilScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official x Lckz;x:Lapw;
      intermediary field_5122 Lnet/minecraft/class_1330;field_5122:Lnet/minecraft/class_1421;
      named anvilScreenHandler Lnet/minecraft/client/gui/screen/ingame/AnvilScreen;anvilScreenHandler:Lnet/minecraft/screen/AnvilScreenHandler;
    • renameTextField

      private TextFieldWidget renameTextField
      Mappings:
      Namespace Name Mixin selector
      official y Lckz;y:Lcgy;
      intermediary field_5123 Lnet/minecraft/class_1330;field_5123:Lnet/minecraft/class_367;
      named renameTextField Lnet/minecraft/client/gui/screen/ingame/AnvilScreen;renameTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • playerInventory

      private final PlayerInventory playerInventory
      Mappings:
      Namespace Name Mixin selector
      official z Lckz;z:Laof;
      intermediary field_5124 Lnet/minecraft/class_1330;field_5124:Lnet/minecraft/class_987;
      named playerInventory Lnet/minecraft/client/gui/screen/ingame/AnvilScreen;playerInventory:Lnet/minecraft/entity/player/PlayerInventory;
  • Constructor Details

    • AnvilScreen

      public AnvilScreen(PlayerInventory playerInventory, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lckz;<init>(Laof;Laxy;)V
      intermediary <init> Lnet/minecraft/class_1330;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/AnvilScreen;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/world/World;)V
  • Method Details

    • getFocused

      public class_4122 getFocused()
      Specified by:
      getFocused in interface class_4123
      Overrides:
      getFocused in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official getFocused Lchs;getFocused()Lchr;
      intermediary getFocused Lnet/minecraft/class_4123;getFocused()Lnet/minecraft/class_4122;
      named getFocused Lnet/minecraft/class_4123;getFocused()Lnet/minecraft/class_4122;
    • 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
    • resize

      public void resize(MinecraftClient client, int width, int height)
      Overrides:
      resize in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lckd;b(Lcft;II)V
      intermediary method_9582 Lnet/minecraft/class_388;method_9582(Lnet/minecraft/class_1600;II)V
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
    • removed

      public void removed()
      Overrides:
      removed in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official n Lckd;n()V
      intermediary method_1030 Lnet/minecraft/class_388;method_1030()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()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
    • method_18682

      private void method_18682(int int2, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lckz;a(ILjava/lang/String;)V
      intermediary method_18682 Lnet/minecraft/class_1330;method_18682(ILjava/lang/String;)V
      named method_18682 Lnet/minecraft/client/gui/screen/ingame/AnvilScreen;method_18682(ILjava/lang/String;)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
    • 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
    • method_13643

      public void method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList)
      Specified by:
      method_13643 in interface ScreenHandlerListener
      Mappings:
      Namespace Name Mixin selector
      official a Laqb;a(Lapv;Lez;)V
      intermediary method_13643 Lnet/minecraft/class_1006;method_13643(Lnet/minecraft/class_1002;Lnet/minecraft/class_3114;)V
      named method_13643 Lnet/minecraft/screen/ScreenHandlerListener;method_13643(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/util/collection/DefaultedList;)V
    • onScreenHandlerSlotUpdate

      public void onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack)
      Specified by:
      onScreenHandlerSlotUpdate in interface ScreenHandlerListener
      Mappings:
      Namespace Name Mixin selector
      official a Laqb;a(Lapv;ILate;)V
      intermediary method_3272 Lnet/minecraft/class_1006;method_3272(Lnet/minecraft/class_1002;ILnet/minecraft/class_1071;)V
      named onScreenHandlerSlotUpdate Lnet/minecraft/screen/ScreenHandlerListener;onScreenHandlerSlotUpdate(Lnet/minecraft/screen/ScreenHandler;ILnet/minecraft/item/ItemStack;)V
    • onScreenHandlerPropertyUpdate

      public void onScreenHandlerPropertyUpdate(ScreenHandler handler, int propertyId, int value)
      Specified by:
      onScreenHandlerPropertyUpdate in interface ScreenHandlerListener
      Mappings:
      Namespace Name Mixin selector
      official a Laqb;a(Lapv;II)V
      intermediary method_3271 Lnet/minecraft/class_1006;method_3271(Lnet/minecraft/class_1002;II)V
      named onScreenHandlerPropertyUpdate Lnet/minecraft/screen/ScreenHandlerListener;onScreenHandlerPropertyUpdate(Lnet/minecraft/screen/ScreenHandler;II)V
    • onScreenHandlerInventoryUpdate

      public void onScreenHandlerInventoryUpdate(ScreenHandler handler, Inventory inventory)
      Specified by:
      onScreenHandlerInventoryUpdate in interface ScreenHandlerListener
      Mappings:
      Namespace Name Mixin selector
      official a Laqb;a(Lapv;Lade;)V
      intermediary method_11258 Lnet/minecraft/class_1006;method_11258(Lnet/minecraft/class_1002;Lnet/minecraft/class_849;)V
      named onScreenHandlerInventoryUpdate Lnet/minecraft/screen/ScreenHandlerListener;onScreenHandlerInventoryUpdate(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/inventory/Inventory;)V