Class LegacySmithingScreenHandler


@Deprecated(forRemoval=true) public class LegacySmithingScreenHandler extends ForgingScreenHandler
Deprecated, for removal: This API element is subject to removal in a future version.
Mappings:
Namespace Name
official ccg
intermediary net/minecraft/class_8050
named net/minecraft/screen/LegacySmithingScreenHandler
  • Field Details

    • field_41912

      public static final int field_41912
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lccg;k:I
      intermediary field_41912 Lnet/minecraft/class_8050;field_41912:I
      named field_41912 Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41912:I
    • field_41913

      public static final int field_41913
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lccg;l:I
      intermediary field_41913 Lnet/minecraft/class_8050;field_41913:I
      named field_41913 Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41913:I
    • field_41914

      public static final int field_41914
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lccg;m:I
      intermediary field_41914 Lnet/minecraft/class_8050;field_41914:I
      named field_41914 Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41914:I
    • field_41916

      private static final int field_41916
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lccg;s:I
      intermediary field_41916 Lnet/minecraft/class_8050;field_41916:I
      named field_41916 Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41916:I
    • field_41917

      private static final int field_41917
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Lccg;t:I
      intermediary field_41917 Lnet/minecraft/class_8050;field_41917:I
      named field_41917 Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41917:I
    • field_41918

      private static final int field_41918
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lccg;u:I
      intermediary field_41918 Lnet/minecraft/class_8050;field_41918:I
      named field_41918 Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41918:I
    • field_41919

      private static final int field_41919
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Lccg;v:I
      intermediary field_41919 Lnet/minecraft/class_8050;field_41919:I
      named field_41919 Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41919:I
    • world

      private final World world
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official n Lccg;n:Lcmi;
      intermediary field_41915 Lnet/minecraft/class_8050;field_41915:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/screen/LegacySmithingScreenHandler;world:Lnet/minecraft/world/World;
    • currentRecipe

      @Nullable private @Nullable LegacySmithingRecipe currentRecipe
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official w Lccg;w:Lciv;
      intermediary field_41920 Lnet/minecraft/class_8050;field_41920:Lnet/minecraft/class_5357;
      named currentRecipe Lnet/minecraft/screen/LegacySmithingScreenHandler;currentRecipe:Lnet/minecraft/recipe/LegacySmithingRecipe;
    • recipes

      private final List<LegacySmithingRecipe> recipes
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official x Lccg;x:Ljava/util/List;
      intermediary field_41921 Lnet/minecraft/class_8050;field_41921:Ljava/util/List;
      named recipes Lnet/minecraft/screen/LegacySmithingScreenHandler;recipes:Ljava/util/List;
  • Constructor Details

    • LegacySmithingScreenHandler

      public LegacySmithingScreenHandler(int syncId, PlayerInventory playerInventory)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official <init> Lccg;<init>(ILbyl;)V
      intermediary <init> Lnet/minecraft/class_8050;<init>(ILnet/minecraft/class_1661;)V
      named <init> Lnet/minecraft/screen/LegacySmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
    • LegacySmithingScreenHandler

      public LegacySmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official <init> Lccg;<init>(ILbyl;Lcbo;)V
      intermediary <init> Lnet/minecraft/class_8050;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
      named <init> Lnet/minecraft/screen/LegacySmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
  • Method Details

    • getForgingSlotsManager

      protected ForgingSlotsManager getForgingSlotsManager()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getForgingSlotsManager in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official l Lccd;l()Lcce;
      intermediary method_48352 Lnet/minecraft/class_4861;method_48352()Lnet/minecraft/class_8047;
      named getForgingSlotsManager Lnet/minecraft/screen/ForgingScreenHandler;getForgingSlotsManager()Lnet/minecraft/screen/slot/ForgingSlotsManager;
    • canUse

      protected boolean canUse(BlockState state)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      canUse in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lccd;a(Ldbq;)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)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      canTakeOutput in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lccd;a(Lbym;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)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      onTakeOutput in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lccd;a(Lbym;Lcfv;)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
    • decrementStack

      private void decrementStack(int slot)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official e Lccg;e(I)V
      intermediary method_48383 Lnet/minecraft/class_8050;method_48383(I)V
      named decrementStack Lnet/minecraft/screen/LegacySmithingScreenHandler;decrementStack(I)V
    • updateResult

      public void updateResult()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      updateResult in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official m Lccd;m()V
      intermediary method_24928 Lnet/minecraft/class_4861;method_24928()V
      named updateResult Lnet/minecraft/screen/ForgingScreenHandler;updateResult()V
    • getSlotFor

      public int getSlotFor(ItemStack stack)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getSlotFor in class ForgingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official d Lccd;d(Lcfv;)I
      intermediary method_48357 Lnet/minecraft/class_4861;method_48357(Lnet/minecraft/class_1799;)I
      named getSlotFor Lnet/minecraft/screen/ForgingScreenHandler;getSlotFor(Lnet/minecraft/item/ItemStack;)I
    • testAddition

      protected boolean testAddition(ItemStack stack)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official e Lccg;e(Lcfv;)Z
      intermediary method_48384 Lnet/minecraft/class_8050;method_48384(Lnet/minecraft/class_1799;)Z
      named testAddition Lnet/minecraft/screen/LegacySmithingScreenHandler;testAddition(Lnet/minecraft/item/ItemStack;)Z
    • canInsertIntoSlot

      public boolean canInsertIntoSlot(ItemStack stack, Slot slot)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns whether stack can be inserted to slot.

      Subclasses should override this to return false if the slot is used for output.

      Overrides:
      canInsertIntoSlot in class ScreenHandler
      Returns:
      whether stack can be inserted to slot
      Mappings:
      Namespace Name Mixin selector
      official a Lcbd;a(Lcfv;Lccw;)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