Package org.bukkit
Interface Keyed
- All Superinterfaces:
net.kyori.adventure.key.Keyed
- All Known Subinterfaces:
Advancement
,ComplexRecipe
,DataPack
,FeatureFlag
,KeyedBossBar
,LimitedRegion
,LootTable
,Reference<T>
,RegionAccessor
,Tag<T>
,TrimMaterial
,TrimPattern
,World
- All Known Implementing Classes:
Art
,Attribute
,BaseTag
,Biome
,BlastingRecipe
,CampfireRecipe
,Cat.Type
,ConfiguredStructure
,CookingRecipe
,CraftingRecipe
,Enchantment
,EnchantmentWrapper
,EntitySetTag
,EntityType
,Fluid
,Frog.Variant
,FurnaceRecipe
,GameEvent
,LootTables
,Material
,MaterialSetTag
,MemoryKey
,MusicInstrument
,PotionEffectType
,PotionEffectTypeWrapper
,PotionMix
,ShapedRecipe
,ShapelessRecipe
,SmithingRecipe
,SmithingTransformRecipe
,SmithingTrimRecipe
,SmokingRecipe
,Sound
,Statistic
,StonecuttingRecipe
,Structure
,StructureType
,StructureType
,Villager.Profession
,Villager.Type
public interface Keyed
extends net.kyori.adventure.key.Keyed
Represents an object which has a
NamespacedKey
attached to it.-
Method Details
-
getKey
Return the namespaced identifier for this object.- Returns:
- this object's key
-
key
Returns the unique identifier for this object.- Specified by:
key
in interfacenet.kyori.adventure.key.Keyed
- Returns:
- this object's key
-