public interface AnvilCost extends DataSerializable
| Modifier and Type | Method and Description |
|---|---|
int |
getLevelCost()
Returns the level cost.
|
int |
getMaterialCost()
Returns the material cost.
|
AnvilCost |
withLevelCost(int levelCost)
Returns a modified copy of the Costs
|
AnvilCost |
withMaterialCost(int materialCost)
Returns a modified copy of the Costs
|
getContentVersion, toContainerint getLevelCost()
int getMaterialCost()
AnvilCost withLevelCost(int levelCost)
levelCost - The new level costAnvilCost withMaterialCost(int materialCost)
materialCost - The new material cost