Class AnvilScreenHandler


public class AnvilScreenHandler extends ForgingScreenHandler
Mappings:
Namespace Name
official bpz
intermediary net/minecraft/class_1706
named net/minecraft/screen/AnvilScreenHandler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official s Lbpz;s:Lorg/apache/logging/log4j/Logger;
      intermediary field_7771 Lnet/minecraft/class_1706;field_7771:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/screen/AnvilScreenHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
    • field_30752

      private static final boolean field_30752
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Lbpz;t:Z
      intermediary field_30752 Lnet/minecraft/class_1706;field_30752:Z
      named field_30752 Lnet/minecraft/screen/AnvilScreenHandler;field_30752:Z
    • field_30751

      public static final int field_30751
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lbpz;k:I
      intermediary field_30751 Lnet/minecraft/class_1706;field_30751:I
      named field_30751 Lnet/minecraft/screen/AnvilScreenHandler;field_30751:I
    • field_30753

      private static final int field_30753
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official x Lbpz;x:I
      intermediary field_30753 Lnet/minecraft/class_1706;field_30753:I
      named field_30753 Lnet/minecraft/screen/AnvilScreenHandler;field_30753:I
    • field_30754

      private static final int field_30754
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official y Lbpz;y:I
      intermediary field_30754 Lnet/minecraft/class_1706;field_30754:I
      named field_30754 Lnet/minecraft/screen/AnvilScreenHandler;field_30754:I
    • field_30755

      private static final int field_30755
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lbpz;z:I
      intermediary field_30755 Lnet/minecraft/class_1706;field_30755:I
      named field_30755 Lnet/minecraft/screen/AnvilScreenHandler;field_30755:I
    • field_30747

      private static final int field_30747
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official A Lbpz;A:I
      intermediary field_30747 Lnet/minecraft/class_1706;field_30747:I
      named field_30747 Lnet/minecraft/screen/AnvilScreenHandler;field_30747:I
    • field_30748

      private static final int field_30748
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official B Lbpz;B:I
      intermediary field_30748 Lnet/minecraft/class_1706;field_30748:I
      named field_30748 Lnet/minecraft/screen/AnvilScreenHandler;field_30748:I
    • field_30749

      private static final int field_30749
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official C Lbpz;C:I
      intermediary field_30749 Lnet/minecraft/class_1706;field_30749:I
      named field_30749 Lnet/minecraft/screen/AnvilScreenHandler;field_30749:I
    • field_30750

      private static final int field_30750
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official D Lbpz;D:I
      intermediary field_30750 Lnet/minecraft/class_1706;field_30750:I
      named field_30750 Lnet/minecraft/screen/AnvilScreenHandler;field_30750:I
    • repairItemUsage

      private int repairItemUsage
      Mappings:
      Namespace Name Mixin selector
      official u Lbpz;u:I
      intermediary field_7776 Lnet/minecraft/class_1706;field_7776:I
      named repairItemUsage Lnet/minecraft/screen/AnvilScreenHandler;repairItemUsage:I
    • newItemName

      private String newItemName
      Mappings:
      Namespace Name Mixin selector
      official v Lbpz;v:Ljava/lang/String;
      intermediary field_7774 Lnet/minecraft/class_1706;field_7774:Ljava/lang/String;
      named newItemName Lnet/minecraft/screen/AnvilScreenHandler;newItemName:Ljava/lang/String;
    • levelCost

      private final Property levelCost
      Mappings:
      Namespace Name Mixin selector
      official w Lbpz;w:Lbqn;
      intermediary field_7770 Lnet/minecraft/class_1706;field_7770:Lnet/minecraft/class_3915;
      named levelCost Lnet/minecraft/screen/AnvilScreenHandler;levelCost:Lnet/minecraft/screen/Property;
  • Constructor Details

    • AnvilScreenHandler

      public AnvilScreenHandler(int syncId, PlayerInventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpz;<init>(ILbnq;)V
      intermediary <init> Lnet/minecraft/class_1706;<init>(ILnet/minecraft/class_1661;)V
      named <init> Lnet/minecraft/screen/AnvilScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
    • AnvilScreenHandler

      public AnvilScreenHandler(int syncId, PlayerInventory inventory, ScreenHandlerContext context)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpz;<init>(ILbnq;Lbqi;)V
      intermediary <init> Lnet/minecraft/class_1706;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
      named <init> Lnet/minecraft/screen/AnvilScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
  • Method Details

    • canUse

      protected boolean canUse(BlockState state)
      Specified by:
      canUse in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbqx;a(Lcoc;)Z
      intermediary method_24925 Lnet/minecraft/class_4861;method_24925(Lnet/minecraft/class_2680;)Z
      named canUse Lnet/minecraft/screen/ForgingScreenHandler;canUse(Lnet/minecraft/block/BlockState;)Z
    • canTakeOutput

      protected boolean canTakeOutput(PlayerEntity player, boolean present)
      Specified by:
      canTakeOutput in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbqx;a(Lbnr;Z)Z
      intermediary method_24927 Lnet/minecraft/class_4861;method_24927(Lnet/minecraft/class_1657;Z)Z
      named canTakeOutput Lnet/minecraft/screen/ForgingScreenHandler;canTakeOutput(Lnet/minecraft/entity/player/PlayerEntity;Z)Z
    • onTakeOutput

      protected void onTakeOutput(PlayerEntity player, ItemStack stack)
      Specified by:
      onTakeOutput in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbqx;a(Lbnr;Lbue;)V
      intermediary method_24923 Lnet/minecraft/class_4861;method_24923(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      named onTakeOutput Lnet/minecraft/screen/ForgingScreenHandler;onTakeOutput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
    • updateResult

      public void updateResult()
      Specified by:
      updateResult in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official l Lbqx;l()V
      intermediary method_24928 Lnet/minecraft/class_4861;method_24928()V
      named updateResult Lnet/minecraft/screen/ForgingScreenHandler;updateResult()V
    • getNextCost

      public static int getNextCost(int cost)
      Mappings:
      Namespace Name Mixin selector
      official d Lbpz;d(I)I
      intermediary method_20398 Lnet/minecraft/class_1706;method_20398(I)I
      named getNextCost Lnet/minecraft/screen/AnvilScreenHandler;getNextCost(I)I
    • setNewItemName

      public void setNewItemName(String newItemName)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpz;a(Ljava/lang/String;)V
      intermediary method_7625 Lnet/minecraft/class_1706;method_7625(Ljava/lang/String;)V
      named setNewItemName Lnet/minecraft/screen/AnvilScreenHandler;setNewItemName(Ljava/lang/String;)V
    • getLevelCost

      public int getLevelCost()
      Mappings:
      Namespace Name Mixin selector
      official m Lbpz;m()I
      intermediary method_17369 Lnet/minecraft/class_1706;method_17369()I
      named getLevelCost Lnet/minecraft/screen/AnvilScreenHandler;getLevelCost()I