mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
@@ -5,7 +5,7 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
/**
|
/**
|
||||||
* Represents an item that has durability and can take damage.
|
* Represents an item that has durability and can take damage.
|
||||||
*/
|
*/
|
||||||
public interface Damageable {
|
public interface Damageable extends ItemMeta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks to see if this item has damage
|
* Checks to see if this item has damage
|
||||||
@@ -29,5 +29,6 @@ public interface Damageable {
|
|||||||
void setDamage(int damage);
|
void setDamage(int damage);
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@Override
|
||||||
Damageable clone();
|
Damageable clone();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user