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 KeyedRepresents an object which has aNamespacedKeyattached to it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NamespacedKeygetKey()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
-
-