Package org.bukkit

Interface Keyed

All Known Subinterfaces:
Advancement, ComplexRecipe, KeyedBossBar, LootTable, Tag<T>, World
All Known Implementing Classes:
Art, Attribute, Biome, BlastingRecipe, CampfireRecipe, CookingRecipe, Enchantment, EnchantmentWrapper, EntityType, Fluid, Frog.Variant, FurnaceRecipe, GameEvent, LootTables, Material, MemoryKey, MusicInstrument, PotionEffectType, PotionEffectTypeWrapper, ShapedRecipe, ShapelessRecipe, SmithingRecipe, SmokingRecipe, Sound, Statistic, StonecuttingRecipe, Structure, StructureType, StructureType, Villager.Profession, Villager.Type

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

      Return the namespaced identifier for this object.
      Returns:
      this object's key