Package org.bukkit

Interface Keyed

All Known Subinterfaces:
Advancement, ComplexRecipe, DataPack, FeatureFlag, KeyedBossBar, LootTable, Tag<T>, TrimMaterial, TrimPattern, 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, SmithingTransformRecipe, SmithingTrimRecipe, 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