程序包 org.bukkit

接口 Keyed

所有已知子接口:
Advancement, BlockType, BlockType.Typed<B>, Cat.Type, ComplexRecipe, DamageType, DataPack, FeatureFlag, Frog.Variant, ItemType, ItemType.Typed<M>, JukeboxSong, KeyedBossBar, LootTable, MapCursor.Type, Tag<T>, TrimMaterial, TrimPattern, Villager.Profession, Villager.Type, Wolf.Variant, World
所有已知实现类:
Art, Attribute, AttributeModifier, Biome, BlastingRecipe, CampfireRecipe, CookingRecipe, CraftingRecipe, Enchantment, EnchantmentWrapper, EntityType, Fluid, FurnaceRecipe, GameEvent, LootTables, Material, MemoryKey, MusicInstrument, Particle, PatternType, PotionEffectType, PotionEffectTypeWrapper, PotionType, ShapedRecipe, ShapelessRecipe, SmithingRecipe, SmithingTransformRecipe, SmithingTrimRecipe, SmokingRecipe, Sound, Statistic, StonecuttingRecipe, Structure, StructureType, StructureType

public interface Keyed
代表附加了 NamespacedKey 的对象.
  • 方法概要

    修饰符和类型
    方法
    说明
    返回用于此对象的命名空间标识符.
  • 方法详细资料

    • getKey

      返回用于此对象的命名空间标识符.

      原文:Return the namespaced identifier for this object.

      返回:
      标识此对象的 key