Interface AnvilCost
- All Superinterfaces:
- DataSerializable
The level and material costs for an anvil usage.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the level cost.intReturns the material cost.withLevelCost(int levelCost) Returns a modified copy of the CostswithMaterialCost(int materialCost) Returns a modified copy of the CostsMethods inherited from interface org.spongepowered.api.data.persistence.DataSerializablecontentVersion, toContainer
- 
Method Details- 
levelCostint levelCost()Returns the level cost.- Returns:
- The level cost
 
- 
materialCostint materialCost()Returns the material cost.- Returns:
- The material cost
 
- 
withLevelCostReturns a modified copy of the Costs- Parameters:
- levelCost- The new level cost
- Returns:
- A modified copy of the Costs
 
- 
withMaterialCostReturns a modified copy of the Costs- Parameters:
- materialCost- The new material cost
- Returns:
- A modified copy of the Costs
 
 
-