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