Interface AnvilCost

All Superinterfaces:
DataSerializable

public interface AnvilCost extends DataSerializable
The level and material costs for an anvil usage.
  • Method Details

    • levelCost

      int levelCost()
      Returns the level cost.
      Returns:
      The level cost
    • materialCost

      int materialCost()
      Returns the material cost.
      Returns:
      The material cost
    • withLevelCost

      AnvilCost withLevelCost(int levelCost)
      Returns a modified copy of the Costs
      Parameters:
      levelCost - The new level cost
      Returns:
      A modified copy of the Costs
    • withMaterialCost

      AnvilCost withMaterialCost(int materialCost)
      Returns a modified copy of the Costs
      Parameters:
      materialCost - The new material cost
      Returns:
      A modified copy of the Costs