mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
18 lines
328 B
Java
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();
|
|
}
|