Get this stack's repair cost, or 0 if no repair cost is defined.
()
| 954 | * Get this stack's repair cost, or 0 if no repair cost is defined. |
| 955 | */ |
| 956 | public int getRepairCost() |
| 957 | { |
| 958 | return this.hasTagCompound() && this.stackTagCompound.hasKey("RepairCost", 3) ? this.stackTagCompound.getInteger("RepairCost") : 0; |
| 959 | } |
| 960 | |
| 961 | /** |
| 962 | * Set this stack's repair cost. |
no test coverage detected