Package org.bukkit

Interface Keyed

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

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

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

    • getKey

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