
org.bukkit.inventory.meta.Repairable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package org.bukkit.inventory.meta;
/**
* Represents an item that can be repaired at an anvil.
*/
public interface Repairable {
/**
* Checks to see if this has a repair penalty
*
* @return true if this has a repair penalty
*/
boolean hasRepairCost();
/**
* Gets the repair penalty
*
* @return the repair penalty
*/
int getRepairCost();
/**
* Sets the repair penalty
*
* @param cost repair penalty
*/
void setRepairCost(int cost);
@SuppressWarnings("javadoc")
Repairable clone();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy