Class ForgingScreenHandler

java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.ForgingScreenHandler
Direct Known Subclasses:
AnvilScreenHandler, SmithingScreenHandler

public abstract class ForgingScreenHandler
extends ScreenHandler
Mappings:
Namespace Name
official bml
intermediary net/minecraft/class_4861
named net/minecraft/screen/ForgingScreenHandler
  • Field Details

    • field_30814

      public static final int field_30814
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official l Lbml;l:I
      intermediary field_30814 Lnet/minecraft/class_4861;field_30814:I
      named field_30814 Lnet/minecraft/screen/ForgingScreenHandler;field_30814:I
    • field_30815

      public static final int field_30815
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official m Lbml;m:I
      intermediary field_30815 Lnet/minecraft/class_4861;field_30815:I
      named field_30815 Lnet/minecraft/screen/ForgingScreenHandler;field_30815:I
    • field_30816

      public static final int field_30816
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official n Lbml;n:I
      intermediary field_30816 Lnet/minecraft/class_4861;field_30816:I
      named field_30816 Lnet/minecraft/screen/ForgingScreenHandler;field_30816:I
    • field_30813

      private static final int field_30813
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official k Lbml;k:I
      intermediary field_30813 Lnet/minecraft/class_4861;field_30813:I
      named field_30813 Lnet/minecraft/screen/ForgingScreenHandler;field_30813:I
    • field_30817

      private static final int field_30817
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official s Lbml;s:I
      intermediary field_30817 Lnet/minecraft/class_4861;field_30817:I
      named field_30817 Lnet/minecraft/screen/ForgingScreenHandler;field_30817:I
    • field_30818

      private static final int field_30818
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official t Lbml;t:I
      intermediary field_30818 Lnet/minecraft/class_4861;field_30818:I
      named field_30818 Lnet/minecraft/screen/ForgingScreenHandler;field_30818:I
    • field_30819

      private static final int field_30819
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official u Lbml;u:I
      intermediary field_30819 Lnet/minecraft/class_4861;field_30819:I
      named field_30819 Lnet/minecraft/screen/ForgingScreenHandler;field_30819:I
    • output

      protected final CraftingResultInventory output
      Mappings:
      Namespace Name Mixin selector
      official o Lbml;o:Lbmx;
      intermediary field_22479 Lnet/minecraft/class_4861;field_22479:Lnet/minecraft/class_1731;
      named output Lnet/minecraft/screen/ForgingScreenHandler;output:Lnet/minecraft/inventory/CraftingResultInventory;
    • input

      protected final Inventory input
      Mappings:
      Namespace Name Mixin selector
      official p Lbml;p:Laqz;
      intermediary field_22480 Lnet/minecraft/class_4861;field_22480:Lnet/minecraft/class_1263;
      named input Lnet/minecraft/screen/ForgingScreenHandler;input:Lnet/minecraft/inventory/Inventory;
    • context

      protected final ScreenHandlerContext context
      Mappings:
      Namespace Name Mixin selector
      official q Lbml;q:Lblw;
      intermediary field_22481 Lnet/minecraft/class_4861;field_22481:Lnet/minecraft/class_3914;
      named context Lnet/minecraft/screen/ForgingScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
    • player

      protected final PlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      official r Lbml;r:Lbjf;
      intermediary field_22482 Lnet/minecraft/class_4861;field_22482:Lnet/minecraft/class_1657;
      named player Lnet/minecraft/screen/ForgingScreenHandler;player:Lnet/minecraft/entity/player/PlayerEntity;
  • Constructor Details

    • ForgingScreenHandler

      public ForgingScreenHandler​(@Nullable @Nullable ScreenHandlerType<?> type, int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbml;<init>(Lbmp;ILbje;Lblw;)V
      intermediary <init> Lnet/minecraft/class_4861;<init>(Lnet/minecraft/class_3917;ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
      named <init> Lnet/minecraft/screen/ForgingScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
  • Method Details

    • canTakeOutput

      protected abstract boolean canTakeOutput​(PlayerEntity player, boolean present)
      Mappings:
      Namespace Name Mixin selector
      official a Lbml;a(Lbjf;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 abstract void onTakeOutput​(PlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbml;a(Lbjf;Lbpr;)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
    • canUse

      protected abstract boolean canUse​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbml;a(Lcjr;)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
    • updateResult

      public abstract void updateResult()
      Mappings:
      Namespace Name Mixin selector
      official i Lbml;i()V
      intermediary method_24928 Lnet/minecraft/class_4861;method_24928()V
      named updateResult Lnet/minecraft/screen/ForgingScreenHandler;updateResult()V
    • onContentChanged

      public void onContentChanged​(Inventory inventory)
      Overrides:
      onContentChanged in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbll;a(Laqz;)V
      intermediary method_7609 Lnet/minecraft/class_1703;method_7609(Lnet/minecraft/class_1263;)V
      named onContentChanged Lnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
    • close

      public void close​(PlayerEntity player)
      Overrides:
      close in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lbll;b(Lbjf;)V
      intermediary method_7595 Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)V
      named close Lnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
    • canUse

      public boolean canUse​(PlayerEntity player)
      Specified by:
      canUse in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lbll;a(Lbjf;)Z
      intermediary method_7597 Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • method_30025

      protected boolean method_30025​(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official c Lbml;c(Lbpr;)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
    • transferSlot

      public ItemStack transferSlot​(PlayerEntity player, int index)
      Overrides:
      transferSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lbll;b(Lbjf;I)Lbpr;
      intermediary method_7601 Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
      named transferSlot Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;