Class SmithingScreenHandler


public class SmithingScreenHandler
extends ForgingScreenHandler
Mappings:
Namespace Name
official bli
intermediary net/minecraft/class_4862
named net/minecraft/screen/SmithingScreenHandler
  • Field Details

    • field_25385

      private final World field_25385
      Mappings:
      Namespace Name Mixin selector
      official g Lbli;g:Lbtv;
      intermediary field_25385 Lnet/minecraft/class_4862;field_25385:Lnet/minecraft/class_1937;
      named field_25385 Lnet/minecraft/screen/SmithingScreenHandler;field_25385:Lnet/minecraft/world/World;
    • field_25386

      @Nullable private SmithingRecipe field_25386
      Mappings:
      Namespace Name Mixin selector
      official h Lbli;h:Lbre;
      intermediary field_25386 Lnet/minecraft/class_4862;field_25386:Lnet/minecraft/class_5357;
      named field_25386 Lnet/minecraft/screen/SmithingScreenHandler;field_25386:Lnet/minecraft/recipe/SmithingRecipe;
    • field_25668

      private final List<SmithingRecipe> field_25668
      Mappings:
      Namespace Name Mixin selector
      official i Lbli;i:Ljava/util/List;
      intermediary field_25668 Lnet/minecraft/class_4862;field_25668:Ljava/util/List;
      named field_25668 Lnet/minecraft/screen/SmithingScreenHandler;field_25668:Ljava/util/List;
  • Constructor Details

    • SmithingScreenHandler

      public SmithingScreenHandler​(int syncId, PlayerInventory playerInventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbli;<init>(ILbhk;)V
      intermediary <init> Lnet/minecraft/class_4862;<init>(ILnet/minecraft/class_1661;)V
      named <init> Lnet/minecraft/screen/SmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
    • SmithingScreenHandler

      public SmithingScreenHandler​(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbli;<init>(ILbhk;Lbkc;)V
      intermediary <init> Lnet/minecraft/class_4862;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
      named <init> Lnet/minecraft/screen/SmithingScreenHandler;<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 Lbkq;a(Lcht;)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 b Lbkq;b(Lbhl;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 ItemStack onTakeOutput​(PlayerEntity player, ItemStack stack)
      Specified by:
      onTakeOutput in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbkq;a(Lbhl;Lbnv;)Lbnv;
      intermediary method_24923 Lnet/minecraft/class_4861;method_24923(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      named onTakeOutput Lnet/minecraft/screen/ForgingScreenHandler;onTakeOutput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • method_29539

      private void method_29539​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official d Lbli;d(I)V
      intermediary method_29539 Lnet/minecraft/class_4862;method_29539(I)V
      named method_29539 Lnet/minecraft/screen/SmithingScreenHandler;method_29539(I)V
    • updateResult

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

      protected boolean method_30025​(ItemStack itemStack)
      Overrides:
      method_30025 in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbkq;a(Lbnv;)Z
      intermediary method_30025 Lnet/minecraft/class_4861;method_30025(Lnet/minecraft/class_1799;)Z
      named method_30025 Lnet/minecraft/screen/ForgingScreenHandler;method_30025(Lnet/minecraft/item/ItemStack;)Z
    • canInsertIntoSlot

      public boolean canInsertIntoSlot​(ItemStack stack, Slot slot)
      Overrides:
      canInsertIntoSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbjr;a(Lbnv;Lblh;)Z
      intermediary method_7613 Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z