Package org.bukkit

Interface Keyed

All Known Subinterfaces:
Advancement, BlockType, BlockType.Typed<B>, Cat.Type, ComplexRecipe, DamageType, DataPack, FeatureFlag, Frog.Variant, ItemType, ItemType.Typed<M>, JukeboxSong, KeyedBossBar, LootTable, MapCursor.Type, Tag<T>, TrimMaterial, TrimPattern, Villager.Profession, Villager.Type, Wolf.Variant, World
All Known Implementing Classes:
Art, Attribute, AttributeModifier, Biome, BlastingRecipe, CampfireRecipe, CookingRecipe, CraftingRecipe, Enchantment, EnchantmentWrapper, EntityType, Fluid, FurnaceRecipe, GameEvent, LootTables, Material, MemoryKey, MusicInstrument, Particle, PatternType, PotionEffectType, PotionEffectTypeWrapper, PotionType, ShapedRecipe, ShapelessRecipe, SmithingRecipe, SmithingTransformRecipe, SmithingTrimRecipe, SmokingRecipe, Sound, Statistic, StonecuttingRecipe, Structure, StructureType, StructureType

public interface Keyed
Represents an object which has a NamespacedKey attached to it.
  • Method Summary

    Modifier and Type
    Return the namespaced identifier for this object.
  • Method Details

    • getKey

      @NotNull NamespacedKey getKey()
      Return the namespaced identifier for this object.
      this object's key