Package org.bukkit
Interface Keyed
- All Known Subinterfaces:
Advancement
,ComplexRecipe
,KeyedBossBar
,LootTable
,Tag<T>
- All Known Implementing Classes:
Art
,Attribute
,Biome
,BlastingRecipe
,CampfireRecipe
,CookingRecipe
,Enchantment
,EnchantmentWrapper
,EntityType
,Fluid
,FurnaceRecipe
,LootTables
,Material
,MemoryKey
,ShapedRecipe
,ShapelessRecipe
,SmithingRecipe
,SmokingRecipe
,Sound
,Statistic
,StonecuttingRecipe
,Villager.Profession
,Villager.Type
public interface Keyed
Represents an object which has a
NamespacedKey
attached to it.-
Method Summary
Modifier and Type Method Description NamespacedKey
getKey()
Return the namespaced identifier for this object.
-
Method Details
-
getKey
Return the namespaced identifier for this object.- Returns:
- this object's key
-