Class AnvilMenu


public class AnvilMenu extends ItemCombinerMenu
  • Field Details

  • Constructor Details

  • Method Details

    • isValidBlock

      protected boolean isValidBlock(BlockState p_39019_)
      Specified by:
      isValidBlock in class ItemCombinerMenu
    • mayPickup

      protected boolean mayPickup(Player p_39023_, boolean p_39024_)
      Specified by:
      mayPickup in class ItemCombinerMenu
    • onTake

      protected void onTake(Player p_150474_, ItemStack p_150475_)
      Specified by:
      onTake in class ItemCombinerMenu
    • createResult

      public void createResult()
      Specified by:
      createResult in class ItemCombinerMenu
    • calculateIncreasedRepairCost

      public static int calculateIncreasedRepairCost(int p_39026_)
    • setItemName

      public void setItemName(String p_39021_)
    • getCost

      public int getCost()
    • setMaximumCost

      public void setMaximumCost(int value)