mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
14
paper-api/src/main/java/org/bukkit/Keyed.java
Normal file
14
paper-api/src/main/java/org/bukkit/Keyed.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package org.bukkit;
|
||||
|
||||
/**
|
||||
* Represents an object which has a {@link NamespacedKey} attached to it.
|
||||
*/
|
||||
public interface Keyed {
|
||||
|
||||
/**
|
||||
* Return the namespaced identifier for this object.
|
||||
*
|
||||
* @return this object's key
|
||||
*/
|
||||
NamespacedKey getKey();
|
||||
}
|
Reference in New Issue
Block a user