Interface AnvilCost

All Superinterfaces:
DataSerializable

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

    • levelCost Link icon

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

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

      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 Link icon

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