Files
paper-mc/paper-api/src/main/java/org/bukkit/Keyed.java
2019-03-13 17:42:57 +11:00

18 lines
328 B
Java

package org.bukkit;
import org.jetbrains.annotations.NotNull;
/**
* 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
*/
@NotNull
NamespacedKey getKey();
}