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(); }