Class LegacySmithingMenu


@Deprecated(forRemoval=true) public class LegacySmithingMenu extends ItemCombinerMenu
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Details

    • level

      private final Level level
      Deprecated, for removal: This API element is subject to removal in a future version.
    • INPUT_SLOT

      public static final int INPUT_SLOT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • ADDITIONAL_SLOT

      public static final int ADDITIONAL_SLOT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • RESULT_SLOT

      public static final int RESULT_SLOT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • INPUT_SLOT_X_PLACEMENT

      private static final int INPUT_SLOT_X_PLACEMENT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • ADDITIONAL_SLOT_X_PLACEMENT

      private static final int ADDITIONAL_SLOT_X_PLACEMENT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • RESULT_SLOT_X_PLACEMENT

      private static final int RESULT_SLOT_X_PLACEMENT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SLOT_Y_PLACEMENT

      private static final int SLOT_Y_PLACEMENT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • selectedRecipe

      @Nullable private LegacyUpgradeRecipe selectedRecipe
      Deprecated, for removal: This API element is subject to removal in a future version.
    • recipes

      private final List<LegacyUpgradeRecipe> recipes
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • LegacySmithingMenu

      public LegacySmithingMenu(int p_267173_, Inventory p_267175_)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • LegacySmithingMenu

      public LegacySmithingMenu(int p_266937_, Inventory p_267213_, ContainerLevelAccess p_266723_)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createInputSlotDefinitions

      protected ItemCombinerMenuSlotDefinition createInputSlotDefinitions()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createInputSlotDefinitions in class ItemCombinerMenu
    • isValidBlock

      protected boolean isValidBlock(BlockState p_266887_)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isValidBlock in class ItemCombinerMenu
    • mayPickup

      protected boolean mayPickup(Player p_267240_, boolean p_266679_)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      mayPickup in class ItemCombinerMenu
    • onTake

      protected void onTake(Player p_267006_, ItemStack p_266731_)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      onTake in class ItemCombinerMenu
    • shrinkStackInSlot

      private void shrinkStackInSlot(int p_267273_)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createResult

      public void createResult()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createResult in class ItemCombinerMenu
    • getSlotToQuickMoveTo

      public int getSlotToQuickMoveTo(ItemStack p_267241_)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getSlotToQuickMoveTo in class ItemCombinerMenu
    • shouldQuickMoveToAdditionalSlot

      protected boolean shouldQuickMoveToAdditionalSlot(ItemStack p_267176_)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • canTakeItemForPickAll

      public boolean canTakeItemForPickAll(ItemStack p_266810_, Slot p_267252_)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      canTakeItemForPickAll in class AbstractContainerMenu