Uses of Class
org.bukkit.NamespacedKey
Packages that use NamespacedKey
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relevant to advancements.
Classes relevant to attributes.
Classes used to manipulate the voxels in a
world
,
including special states.Classes relevant to banner blocks.
Classes relating to the specialized enhancements to
item stacks
, as part of the meta data
.Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes concerning an entity's persistent memory.
Classes to facilitate world
Structure
generation.Classes involved in manipulating player inventories and item interactions.
The interfaces used when manipulating extra data can can be stored inside
item stacks
.Isolated components which may form part of item meta.
Classes that allow attaching custom data to items.
Armor trim meta types.
Classes relevant to loot table manipulation and generation.
Classes dedicated to handling data pack information.
Classes that allow attaching persistent data to various objects.
Classes dedicated to specialized plugin to client protocols.
Classes to represent various
potion
properties and manipulation.Classes related to creating or using
structures
without creating Structure
blocks
in the world.-
Uses of NamespacedKey in com.destroystokyo.paper
Constructors in com.destroystokyo.paper with parameters of type NamespacedKeyModifierConstructorDescriptionMaterialSetTag
(@Nullable NamespacedKey key, @NotNull Collection<Material> materials) MaterialSetTag
(@Nullable NamespacedKey key, @NotNull Collection<Material> materials, @NotNull Predicate<Material>... globalPredicates) MaterialSetTag
(@Nullable NamespacedKey key, @NotNull Predicate<Material> filter) MaterialSetTag
(@Nullable NamespacedKey key, @NotNull Material... materials) -
Uses of NamespacedKey in com.destroystokyo.paper.entity.ai
Methods in com.destroystokyo.paper.entity.ai that return NamespacedKeyMethods in com.destroystokyo.paper.entity.ai with parameters of type NamespacedKey -
Uses of NamespacedKey in com.destroystokyo.paper.event.player
Methods in com.destroystokyo.paper.event.player that return NamespacedKeyModifier and TypeMethodDescriptionPlayerRecipeBookClickEvent.getRecipe()
Gets the namespaced key of the recipe that was clicked by the playerMethods in com.destroystokyo.paper.event.player with parameters of type NamespacedKeyModifier and TypeMethodDescriptionvoid
PlayerRecipeBookClickEvent.setRecipe
(NamespacedKey recipe) Changes what recipe is requested.Constructors in com.destroystokyo.paper.event.player with parameters of type NamespacedKeyModifierConstructorDescriptionPlayerRecipeBookClickEvent
(Player player, NamespacedKey recipe, boolean makeAll) -
Uses of NamespacedKey in io.papermc.paper.advancement
Methods in io.papermc.paper.advancement that return NamespacedKeyModifier and TypeMethodDescriptionAdvancementDisplay.backgroundPath()
Gets the texture displayed behind the advancement tree when selected. -
Uses of NamespacedKey in io.papermc.paper.command.brigadier.argument
Methods in io.papermc.paper.command.brigadier.argument that return types with arguments of type NamespacedKeyModifier and TypeMethodDescriptionstatic com.mojang.brigadier.arguments.ArgumentType
<NamespacedKey> ArgumentTypes.namespacedKey()
A namespaced key argument. -
Uses of NamespacedKey in io.papermc.paper.event.player
Methods in io.papermc.paper.event.player that return NamespacedKeyModifier and TypeMethodDescriptionPlayerItemGroupCooldownEvent.getCooldownGroup()
Get the cooldown group as defined by an item'sUseCooldownComponent
.Constructors in io.papermc.paper.event.player with parameters of type NamespacedKeyModifierConstructorDescriptionPlayerItemCooldownEvent
(Player player, Material type, NamespacedKey cooldownGroup, int cooldown) PlayerItemGroupCooldownEvent
(Player player, NamespacedKey cooldownGroup, int cooldown) -
Uses of NamespacedKey in io.papermc.paper.persistence
Methods in io.papermc.paper.persistence that return types with arguments of type NamespacedKeyModifier and TypeMethodDescriptionPersistentDataContainerView.getKeys()
Get the set of keys present on thisPersistentDataContainer
instance.Methods in io.papermc.paper.persistence with parameters of type NamespacedKeyModifier and TypeMethodDescription<P,
C> @Nullable C PersistentDataContainerView.get
(NamespacedKey key, PersistentDataType<P, C> type) Returns the metadata value that is stored on thePersistentDataHolder
instance.<P,
C> C PersistentDataContainerView.getOrDefault
(NamespacedKey key, PersistentDataType<P, C> type, C defaultValue) Returns the metadata value that is stored on thePersistentDataHolder
instance.boolean
PersistentDataContainerView.has
(NamespacedKey key) Returns if the persistent metadata provider has metadata registered matching the provided parameters.<P,
C> boolean PersistentDataContainerView.has
(NamespacedKey key, PersistentDataType<P, C> type) Returns if the persistent metadata provider has metadata registered matching the provided parameters. -
Uses of NamespacedKey in io.papermc.paper.potion
Methods in io.papermc.paper.potion that return NamespacedKeyConstructors in io.papermc.paper.potion with parameters of type NamespacedKeyModifierConstructorDescriptionPotionMix
(NamespacedKey key, ItemStack result, RecipeChoice input, RecipeChoice ingredient) Creates a new potion mix. -
Uses of NamespacedKey in io.papermc.paper.registry
Methods in io.papermc.paper.registry with parameters of type NamespacedKey -
Uses of NamespacedKey in io.papermc.paper.tag
Fields in io.papermc.paper.tag declared as NamespacedKeyMethods in io.papermc.paper.tag that return NamespacedKeyConstructors in io.papermc.paper.tag with parameters of type NamespacedKeyModifierConstructorDescriptionBaseTag
(@NotNull Class<T> clazz, @NotNull NamespacedKey key, @NotNull Collection<T> values) BaseTag
(@NotNull Class<T> clazz, @NotNull NamespacedKey key, @NotNull Collection<T> values, @NotNull Predicate<T>... globalPredicates) EntitySetTag
(@NotNull NamespacedKey key, @NotNull Collection<EntityType> values) EntitySetTag
(@NotNull NamespacedKey key, @NotNull Collection<EntityType> values, @NotNull Predicate<EntityType>... globalPredicates) EntitySetTag
(@NotNull NamespacedKey key, @NotNull Predicate<EntityType> filter) EntitySetTag
(@NotNull NamespacedKey key, @NotNull EntityType... values) -
Uses of NamespacedKey in moe.caramel.daydream.advancement
Methods in moe.caramel.daydream.advancement that return NamespacedKeyMethods in moe.caramel.daydream.advancement that return types with arguments of type NamespacedKeyModifier and TypeMethodDescriptionProgressMap.getData()
진행도 맵의 데이터를 가져옵니다.AdvancementReward.lootKeys()
전리품 테이블의 키 목록을 가져옵니다.AdvancementReward.recipeKeys()
레시피의 키 목록을 가져옵니다.Methods in moe.caramel.daydream.advancement with parameters of type NamespacedKeyModifier and TypeMethodDescriptiondefault AdvancementBuilder
AdvancementBuilder.addCustomTriggerCriterion
(String name, NamespacedKey key) 사용자 지정 트리거를 사용한 달성 기준을 추가합니다.AdvancementBuilder.addCustomTriggerCriterion
(String name, NamespacedKey key, @Nullable JsonElement dataPredicate) 사용자 지정 트리거를 사용한 달성 기준을 추가합니다.default ProgressMap
ProgressMap.addProgress
(NamespacedKey key, int currentCount, @Nullable Instant obtainedTime) 주어진 발전 과제에 대하여 새로운 카운트 형식의 진행도를 생성하고 추가합니다.default ProgressMap
ProgressMap.addProgress
(NamespacedKey key, Map<String, CriterionProgress> criteria) 주어진 발전 과제에 대하여 새로운 진행도를 생성하고 추가합니다.ProgressMap.addProgress
(NamespacedKey key, AdvancementProgress progress) 주어진 발전 과제에 대하여 기준 진행도를 추가합니다.PlayerAdvancementData.asProgressMap
(NamespacedKey section) 현재의 진행도 맵을 가져옵니다.AdvancementBuilder.display
(ItemStack icon, Component title, Component description, @Nullable NamespacedKey background, AdvancementDisplay.Frame frame, boolean showToast, boolean announceChat, boolean hidden) 이 발전 과제의 디스플레이를 설정합니다.AdvancementBuilder.display
(ItemStack icon, Component title, Component description, @Nullable NamespacedKey background, AdvancementDisplay.Frame frame, float x, float y, boolean showToast, boolean announceChat, boolean hidden) 이 발전 과제의 디스플레이를 고정된 위치로 설정합니다.AdvancementBuilder.display
(Material icon, Component title, Component description, @Nullable NamespacedKey background, AdvancementDisplay.Frame frame, boolean showToast, boolean announceChat, boolean hidden) 이 발전 과제의 디스플레이를 설정합니다.AdvancementBuilder.display
(Material icon, Component title, Component description, @Nullable NamespacedKey background, AdvancementDisplay.Frame frame, float x, float y, boolean showToast, boolean announceChat, boolean hidden) 이 발전 과제의 디스플레이를 고정된 위치로 설정합니다.AdvancementBuilder.enableCount
(int count, NamespacedKey triggerId) 이 발전 과제에 카운트를 사용합니다.AdvancementBuilder.reward
(int experience, List<NamespacedKey> loot, List<NamespacedKey> recipes, @Nullable NamespacedKey function) 이 발전 과제의 보상을 설정합니다.AdvancementBuilder.saveSection
(NamespacedKey section) 발전 과제 저장 구역을 설정합니다.Method parameters in moe.caramel.daydream.advancement with type arguments of type NamespacedKeyModifier and TypeMethodDescriptionvoid
ProgressMap.iterator
(BiConsumer<NamespacedKey, AdvancementProgress> action) 진행도 맵에 대하여 반복을 실행합니다.AdvancementBuilder.reward
(int experience, List<NamespacedKey> loot, List<NamespacedKey> recipes, @Nullable NamespacedKey function) 이 발전 과제의 보상을 설정합니다. -
Uses of NamespacedKey in moe.caramel.daydream.brigadier
Fields in moe.caramel.daydream.brigadier with type parameters of type NamespacedKeyModifier and TypeFieldDescriptionstatic final SimpleArgument
<NamespacedKey> Arguments.RESOURCE_LOCATION
Example: "foo", "foo:bar", "012" -
Uses of NamespacedKey in moe.caramel.daydream.event.player
Methods in moe.caramel.daydream.event.player that return NamespacedKeyModifier and TypeMethodDescriptionPlayerAdvancementScreenEvent.getKey()
플레이어가 요청한 탭의NamespacedKey
를 가져옵니다.PlayerAdvancementSaveEvent.getSection()
발전 과제의 저장 구역을 가져옵니다.Constructors in moe.caramel.daydream.event.player with parameters of type NamespacedKeyModifierConstructorDescriptionPlayerAdvancementSaveEvent
(Player who, NamespacedKey section, ProgressMap progress, PlayerAdvancementSaveEvent.Reason reason) PlayerAdvancementScreenEvent
(Player player, PlayerAdvancementScreenEvent.Action action, @Nullable NamespacedKey key) -
Uses of NamespacedKey in moe.caramel.daydream.packet
Methods in moe.caramel.daydream.packet with parameters of type NamespacedKeyModifier and TypeMethodDescription<T> ExplodePacket
ExplodePacket.create
(Vector center, @Nullable Vector knockback, Particle particle, @Nullable T particleData, NamespacedKey sound) 패킷을 생성합니다. -
Uses of NamespacedKey in moe.caramel.daydream.plugin
Methods in moe.caramel.daydream.plugin with parameters of type NamespacedKeyModifier and TypeMethodDescriptionAdvancementProvider.register
(NamespacedKey key, JsonElement json) 발전 과제를 서버에 등록합니다.AdvancementProvider.register
(NamespacedKey key, AdvancementBuilder builder) 발전 과제를 서버에 등록합니다. -
Uses of NamespacedKey in org.bukkit
Methods in org.bukkit that return NamespacedKeyModifier and TypeMethodDescriptionstatic @Nullable NamespacedKey
NamespacedKey.fromString
(@NotNull String key) Get a NamespacedKey from the supplied string.static @Nullable NamespacedKey
NamespacedKey.fromString
(@NotNull String string, @Nullable Plugin defaultNamespace) Get a NamespacedKey from the supplied string with a default namespace if a namespace is not defined.UnsafeValues.getBiomeKey
(RegionAccessor accessor, int x, int y, int z) Deprecated, for removal: This API element is subject to removal in a future version.custom biomes are properly supported in API nowArt.getKey()
Deprecated, for removal: This API element is subject to removal in a future version.Keyed.getKey()
Return the namespaced identifier for this object.Material.getKey()
abstract @NotNull NamespacedKey
MusicInstrument.getKey()
Deprecated, for removal: This API element is subject to removal in a future version.Particle.getKey()
RegionAccessor.getKey()
Get the world's keyGet the key for this object.Sound.getKey()
Deprecated, for removal: This API element is subject to removal in a future version.useRegistry.getKey(Keyed)
andRegistry.SOUNDS
.Statistic.getKey()
StructureType.getKey()
Deprecated.default NamespacedKey
Registry.getKeyOrThrow
(T value) Gets the key for this object or throws if it doesn't exist.WorldCreator.key()
Gets the key for this WorldCreatorstatic @NotNull NamespacedKey
Get a key in the Minecraft namespace.static @NotNull NamespacedKey
NamespacedKey.randomKey()
Deprecated.should never be used by plugins, for internal use only!!Methods in org.bukkit with parameters of type NamespacedKeyModifier and TypeMethodDescriptionstatic @NotNull KeyedBossBar
Bukkit.createBossBar
(@NotNull NamespacedKey key, @Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags) Creates a boss bar instance to display to players.Server.createBossBar
(@NotNull NamespacedKey key, @Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags) Creates a boss bar instance to display to players.Registry.get
(NamespacedKey key) Get the object by its key.Registry.SimpleRegistry.get
(NamespacedKey key) <B extends Keyed>
BUnsafeValues.get
(RegistryKey<B> registry, NamespacedKey key) Deprecated.static @Nullable Advancement
Bukkit.getAdvancement
(@NotNull NamespacedKey key) Get the advancement specified by this key.Server.getAdvancement
(@NotNull NamespacedKey key) Get the advancement specified by this key.static @Nullable KeyedBossBar
Bukkit.getBossBar
(@NotNull NamespacedKey key) Gets theKeyedBossBar
specified by this key.Server.getBossBar
(@NotNull NamespacedKey key) Gets theKeyedBossBar
specified by this key.GameEvent.getByKey
(@NotNull NamespacedKey namespacedKey) Deprecated.UseRegistry.get(NamespacedKey)
instead.static @Nullable MusicInstrument
MusicInstrument.getByKey
(@NotNull NamespacedKey namespacedKey) Deprecated.UseRegistry.get(NamespacedKey)
instead.UnsafeValues.getDefaultEntityAttributes
(@NotNull NamespacedKey entityKey) Deprecated.Gets the default attributes for the entity represented by the namespaced key.UnsafeValues.getInternalPotionData
(NamespacedKey key) Deprecated, for removal: This API element is subject to removal in a future version.Bukkit.getLootTable
(@NotNull NamespacedKey key) Gets the specifiedLootTable
.Server.getLootTable
(@NotNull NamespacedKey key) Gets the specifiedLootTable
.default T
Registry.getOrThrow
(NamespacedKey key) Get the object by its key.Bukkit.getRecipe
(@NotNull NamespacedKey recipeKey) Get theRecipe
for the given key.Server.getRecipe
(@NotNull NamespacedKey recipeKey) Get theRecipe
for the given key.Gets a tag which has already been defined within the server.Gets a tag which has already been defined within the server.Bukkit.getWorld
(@NotNull NamespacedKey worldKey) Gets the world from the given NamespacedKeyServer.getWorld
(@NotNull NamespacedKey worldKey) Gets the world from the given NamespacedKeyboolean
UnsafeValues.hasDefaultEntityAttributes
(@NotNull NamespacedKey entityKey) Deprecated.Checks if the entity represented by the namespaced key has default attributes.UnsafeValues.loadAdvancement
(NamespacedKey key, String advancement) Deprecated.Load an advancement represented by the specified string into the server.static @NotNull WorldCreator
WorldCreator.ofKey
(@NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given key.static @NotNull WorldCreator
WorldCreator.ofNameAndKey
(@NotNull String levelName, @NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given world name and keyboolean
UnsafeValues.removeAdvancement
(NamespacedKey key) Deprecated.Delete an advancement which was loaded and saved byUnsafeValues.loadAdvancement(org.bukkit.NamespacedKey, java.lang.String)
.static boolean
Bukkit.removeBossBar
(@NotNull NamespacedKey key) Removes aKeyedBossBar
specified by this key.boolean
Server.removeBossBar
(@NotNull NamespacedKey key) Removes aKeyedBossBar
specified by this key.static boolean
Bukkit.removeRecipe
(@NotNull NamespacedKey key) Remove a recipe from the server.static boolean
Bukkit.removeRecipe
(@NotNull NamespacedKey key, boolean resendRecipes) Remove a recipe from the server.boolean
Server.removeRecipe
(@NotNull NamespacedKey key) Remove a recipe from the server.boolean
Server.removeRecipe
(@NotNull NamespacedKey key, boolean resendRecipes) Remove a recipe from the server.void
UnsafeValues.setBiomeKey
(RegionAccessor accessor, int x, int y, int z, NamespacedKey biomeKey) Deprecated, for removal: This API element is subject to removal in a future version.custom biomes are properly supported in API nowstatic void
Bukkit.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId) 사용자 지정 트리거를 실행합니다.static void
Bukkit.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item) 사용자 지정 트리거를 실행합니다.static void
Bukkit.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item, @Nullable Entity target) 사용자 지정 트리거를 실행합니다.static void
Bukkit.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item, @Nullable Entity target, @Nullable Map<String, Object> data) 사용자 지정 트리거를 실행합니다.static void
Bukkit.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item, @Nullable Entity target, Supplier<Map<String, Object>> dataSupplier) 사용자 지정 트리거를 실행합니다.void
Server.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId) 사용자 지정 트리거를 실행합니다.void
Server.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item) 사용자 지정 트리거를 실행합니다.void
Server.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item, @Nullable Entity target) 사용자 지정 트리거를 실행합니다.void
Server.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item, @Nullable Entity target, @Nullable Map<String, Object> data) 사용자 지정 트리거를 실행합니다.void
Server.triggerCustomCriteria
(@NotNull Player player, @NotNull NamespacedKey triggerId, @Nullable ItemStack item, @Nullable Entity target, Supplier<Map<String, Object>> dataSupplier) 사용자 지정 트리거를 실행합니다.void
UnsafeValues.unloadAdvancement
(boolean save, NamespacedKey... keys) Deprecated.발전 과제를 서버에서 언로드합니다.Constructors in org.bukkit with parameters of type NamespacedKeyModifierConstructorDescriptionWorldCreator
(@NotNull String levelName, @NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given world name and keyWorldCreator
(@NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given key. -
Uses of NamespacedKey in org.bukkit.advancement
Fields in org.bukkit.advancement declared as NamespacedKeyModifier and TypeFieldDescriptionstatic final NamespacedKey
Advancement.MAIN_SAVE_SECTION
기본 발전 과제 저장 구역Methods in org.bukkit.advancement that return NamespacedKey -
Uses of NamespacedKey in org.bukkit.attribute
Methods in org.bukkit.attribute that return NamespacedKeyConstructors in org.bukkit.attribute with parameters of type NamespacedKeyModifierConstructorDescriptionAttributeModifier
(@NotNull NamespacedKey key, double amount, @NotNull AttributeModifier.Operation operation) AttributeModifier
(@NotNull NamespacedKey key, double amount, @NotNull AttributeModifier.Operation operation, @NotNull EquipmentSlotGroup slot) -
Uses of NamespacedKey in org.bukkit.block
Methods in org.bukkit.block that return NamespacedKeyModifier and TypeMethodDescriptionSkull.getNoteBlockSound()
Gets the sound to play if the skull is placed on a note block.Methods in org.bukkit.block with parameters of type NamespacedKeyModifier and TypeMethodDescriptionint
Furnace.getRecipeUsedCount
(NamespacedKey furnaceRecipe) Gets the number of times a recipe has been used since the last player removed items from the result slot.boolean
Furnace.hasRecipeUsedCount
(NamespacedKey furnaceRecipe) Checks if the recipe has a used count present on this furnace.void
Skull.setNoteBlockSound
(@Nullable NamespacedKey noteBlockSound) Sets the sound to play if the skull is placed on a note block. -
Uses of NamespacedKey in org.bukkit.block.banner
Methods in org.bukkit.block.banner that return NamespacedKeyModifier and TypeMethodDescriptionPatternType.getKey()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of NamespacedKey in org.bukkit.enchantments
Methods in org.bukkit.enchantments with parameters of type NamespacedKeyModifier and TypeMethodDescriptionstatic @Nullable Enchantment
Enchantment.getByKey
(@Nullable NamespacedKey key) Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead -
Uses of NamespacedKey in org.bukkit.entity
Methods in org.bukkit.entity that return NamespacedKeyMethods in org.bukkit.entity that return types with arguments of type NamespacedKeyModifier and TypeMethodDescriptionHumanEntity.getDiscoveredRecipes()
Get an immutable set of recipes this entity has discovered.Methods in org.bukkit.entity with parameters of type NamespacedKeyModifier and TypeMethodDescriptionboolean
HumanEntity.discoverRecipe
(NamespacedKey recipe) Discover a recipe for this player such that it has not already been discovered.int
HumanEntity.getCooldown
(NamespacedKey cooldownGroup) 이 그룹에 대한 쿨다운 틱을 가져옵니다.boolean
HumanEntity.hasCooldown
(NamespacedKey cooldownGroup) 이 그룹에 대한 쿨다운이 존재하는지 확인합니다.boolean
HumanEntity.hasDiscoveredRecipe
(NamespacedKey recipe) Check whether or not this entity has discovered the specified recipe.CompletableFuture
<byte[]> Player.retrieveCookie
(NamespacedKey key) Retrieves a cookie from this player.<T> T
Player.serializeAdvancementProgress
(AdvancementFormat<T> format, NamespacedKey saveSection) 플레이어의 직렬화된 발전 과제 데이터를 가져옵니다.void
HumanEntity.setCooldown
(NamespacedKey cooldownGroup, int ticks) 이 그룹에 대한 쿨다운 시간을 설정합니다.void
Player.storeCookie
(NamespacedKey key, byte[] value) Stores a cookie in this player's client.boolean
HumanEntity.undiscoverRecipe
(NamespacedKey recipe) Undiscover a recipe for this player such that it has already been discovered.Method parameters in org.bukkit.entity with type arguments of type NamespacedKeyModifier and TypeMethodDescriptionint
HumanEntity.discoverRecipes
(Collection<NamespacedKey> recipes) Discover a collection of recipes for this player such that they have not already been discovered.int
HumanEntity.undiscoverRecipes
(Collection<NamespacedKey> recipes) Undiscover a collection of recipes for this player such that they have already been discovered. -
Uses of NamespacedKey in org.bukkit.entity.memory
Methods in org.bukkit.entity.memory that return NamespacedKeyMethods in org.bukkit.entity.memory with parameters of type NamespacedKeyModifier and TypeMethodDescriptionMemoryKey.getByKey
(@NotNull NamespacedKey namespacedKey) Returns aMemoryKey
by aNamespacedKey
. -
Uses of NamespacedKey in org.bukkit.event.player
Methods in org.bukkit.event.player that return NamespacedKeyModifier and TypeMethodDescriptionPlayerRecipeDiscoverEvent.getRecipe()
Get the namespaced key of the discovered recipe.Constructors in org.bukkit.event.player with parameters of type NamespacedKeyModifierConstructorDescriptionPlayerRecipeDiscoverEvent
(@NotNull Player who, @NotNull NamespacedKey recipe) -
Uses of NamespacedKey in org.bukkit.event.world
Methods in org.bukkit.event.world that return types with arguments of type NamespacedKeyModifier and TypeMethodDescriptionAsyncStructureGenerateEvent.getBlockTransformers()
Gets all block transformers in a unmodifiable map.AsyncStructureGenerateEvent.getEntityTransformers()
Gets all entity transformers in a unmodifiable map.Methods in org.bukkit.event.world with parameters of type NamespacedKeyModifier and TypeMethodDescriptionAsyncStructureGenerateEvent.getBlockTransformer
(@NotNull NamespacedKey key) Gets a block transformer by key.AsyncStructureGenerateEvent.getEntityTransformer
(@NotNull NamespacedKey key) Gets a entity transformer by key.void
AsyncStructureGenerateEvent.removeBlockTransformer
(@NotNull NamespacedKey key) Removes a block transformer.void
AsyncStructureGenerateEvent.removeEntityTransformer
(@NotNull NamespacedKey key) Removes a entity transformer.void
AsyncStructureGenerateEvent.setBlockTransformer
(@NotNull NamespacedKey key, @NotNull BlockTransformer transformer) Sets a block transformer to a key.void
AsyncStructureGenerateEvent.setEntityTransformer
(@NotNull NamespacedKey key, @NotNull EntityTransformer transformer) Sets a entity transformer to a key. -
Uses of NamespacedKey in org.bukkit.generator.structure
Methods in org.bukkit.generator.structure that return NamespacedKeyModifier and TypeMethodDescriptionabstract @NotNull NamespacedKey
Structure.getKey()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of NamespacedKey in org.bukkit.inventory
Methods in org.bukkit.inventory that return NamespacedKeyModifier and TypeMethodDescriptionCookingRecipe.getKey()
CraftingRecipe.getKey()
SmithingRecipe.getKey()
StonecuttingRecipe.getKey()
Constructors in org.bukkit.inventory with parameters of type NamespacedKeyModifierConstructorDescriptionBlastingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) BlastingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) CampfireRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) CampfireRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) CookingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) Create a cooking recipe to craft the specified ItemStack.CookingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) Create a cooking recipe to craft the specified ItemStack.protected
CraftingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result) FurnaceRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) Create a furnace recipe to craft the specified ItemStack.FurnaceRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, int data, float experience, int cookingTime) Deprecated.FurnaceRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) Create a furnace recipe to craft the specified ItemStack.ShapedRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result) Create a shaped recipe to craft the specified ItemStack.ShapelessRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result) Create a shapeless recipe to craft the specified ItemStack.SmithingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @Nullable RecipeChoice base, @Nullable RecipeChoice addition) Deprecated.as of Minecraft 1.20, smithing recipes are now separated into two distinct recipe types,SmithingTransformRecipe
andSmithingTrimRecipe
.SmithingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @Nullable RecipeChoice base, @Nullable RecipeChoice addition, boolean copyDataComponents) Deprecated.SmithingTransformRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.SmithingTransformRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, boolean copyDataComponents) Create a smithing recipe to produce the specified result ItemStack.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, boolean copyDataComponents) Create a smithing recipe to produce the specified result ItemStack.SmokingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) SmokingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) StonecuttingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source) Create a Stonecutting recipe to craft the specified ItemStack.StonecuttingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input) Create a Stonecutting recipe to craft the specified ItemStack.TransmuteRecipe
(@NotNull NamespacedKey key, @NotNull Material result, @NotNull RecipeChoice input, @NotNull RecipeChoice material) Create a transmute recipe to produce a result of the specified type. -
Uses of NamespacedKey in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return NamespacedKeyModifier and TypeMethodDescriptiondefault @Nullable NamespacedKey
ItemMeta.getCooldownGroup()
Gets the custom cooldown group to be used for similar items, if set.ItemMeta.getItemModel()
Gets the custom item model.SkullMeta.getNoteBlockSound()
Gets the sound to play if the skull is placed on a note block.ItemMeta.getTooltipStyle()
Gets the custom tooltip style.Methods in org.bukkit.inventory.meta that return types with arguments of type NamespacedKeyModifier and TypeMethodDescriptionKnowledgeBookMeta.getRecipes()
Gets all the recipes in the book.Methods in org.bukkit.inventory.meta with parameters of type NamespacedKeyModifier and TypeMethodDescriptionvoid
KnowledgeBookMeta.addRecipe
(@NotNull NamespacedKey... recipes) Adds new recipe to the end of the book.default void
ItemMeta.setCooldownGroup
(@Nullable NamespacedKey group) Sets the custom cooldown group to be used for similar items.void
ItemMeta.setItemModel
(@Nullable NamespacedKey itemModel) Sets the custom item model.void
SkullMeta.setNoteBlockSound
(@Nullable NamespacedKey noteBlockSound) Sets the sound to play if the skull is placed on a note block.void
ItemMeta.setTooltipStyle
(@Nullable NamespacedKey tooltipStyle) Sets the custom tooltip style.Method parameters in org.bukkit.inventory.meta with type arguments of type NamespacedKeyModifier and TypeMethodDescriptionvoid
KnowledgeBookMeta.setRecipes
(@NotNull List<NamespacedKey> recipes) Clears the existing book recipes, and sets the book to use the provided recipes. -
Uses of NamespacedKey in org.bukkit.inventory.meta.components
Methods in org.bukkit.inventory.meta.components that return NamespacedKeyModifier and TypeMethodDescriptionEquippableComponent.getCameraOverlay()
Gets the key of the camera overlay to use when equipped.UseCooldownComponent.getCooldownGroup()
Gets the custom cooldown group to be used for similar items, if set.EquippableComponent.getModel()
Gets the key of the model to use when equipped.JukeboxPlayableComponent.getSongKey()
Gets the key of the song assigned to this component.Methods in org.bukkit.inventory.meta.components with parameters of type NamespacedKeyModifier and TypeMethodDescriptionvoid
EquippableComponent.setCameraOverlay
(@Nullable NamespacedKey key) Sets the key of the camera overlay to use when equipped.void
UseCooldownComponent.setCooldownGroup
(@Nullable NamespacedKey group) Sets the custom cooldown group to be used for similar items.void
EquippableComponent.setModel
(@Nullable NamespacedKey key) Sets the key of the model to use when equipped.void
JukeboxPlayableComponent.setSongKey
(@NotNull NamespacedKey song) Sets the key of the song assigned to this component. -
Uses of NamespacedKey in org.bukkit.inventory.meta.tags
Methods in org.bukkit.inventory.meta.tags with parameters of type NamespacedKeyModifier and TypeMethodDescription<T,
Z> Z CustomItemTagContainer.getCustomTag
(@NotNull NamespacedKey key, @NotNull ItemTagType<T, Z> type) Deprecated.Returns the custom tag's value that is stored on the item.<T,
Z> boolean CustomItemTagContainer.hasCustomTag
(@NotNull NamespacedKey key, @NotNull ItemTagType<T, Z> type) Deprecated.Returns if the item meta has a custom tag registered matching the provided parameters.void
CustomItemTagContainer.removeCustomTag
(@NotNull NamespacedKey key) Deprecated.Removes a custom key from the item meta.<T,
Z> void CustomItemTagContainer.setCustomTag
(@NotNull NamespacedKey key, @NotNull ItemTagType<T, Z> type, Z value) Deprecated.Stores a custom value on theItemMeta
. -
Uses of NamespacedKey in org.bukkit.inventory.meta.trim
Methods in org.bukkit.inventory.meta.trim that return NamespacedKey -
Uses of NamespacedKey in org.bukkit.loot
Methods in org.bukkit.loot that return NamespacedKey -
Uses of NamespacedKey in org.bukkit.packs
Methods in org.bukkit.packs with parameters of type NamespacedKeyModifier and TypeMethodDescriptionDataPackManager.getDataPack
(@NotNull NamespacedKey dataPackKey) Deprecated, for removal: This API element is subject to removal in a future version.Gets aDataPack
by its key. -
Uses of NamespacedKey in org.bukkit.persistence
Methods in org.bukkit.persistence with parameters of type NamespacedKeyModifier and TypeMethodDescriptionvoid
PersistentDataContainer.remove
(@NotNull NamespacedKey key) Removes a custom key from thePersistentDataHolder
instance.<P,
C> void PersistentDataContainer.set
(@NotNull NamespacedKey key, @NotNull PersistentDataType<P, C> type, C value) Stores a metadata value on thePersistentDataHolder
instance. -
Uses of NamespacedKey in org.bukkit.plugin.messaging
Methods in org.bukkit.plugin.messaging with parameters of type NamespacedKeyModifier and TypeMethodDescriptionvoid
PluginMessageRecipient.sendCustomPayload
(NamespacedKey channel, byte @NotNull [] value) 이 대상에게 커스텀 페이로드를 채널 등록 없이 전송합니다.void
PluginMessageRecipient.sendCustomPayload
(NamespacedKey channel, io.netty.buffer.ByteBuf buf) 이 대상에게 커스텀 페이로드를 채널 등록 없이 전송합니다. -
Uses of NamespacedKey in org.bukkit.potion
Methods in org.bukkit.potion that return NamespacedKeyModifier and TypeMethodDescriptionPotionEffectTypeWrapper.getKey()
Deprecated.PotionType.getKey()
Methods in org.bukkit.potion with parameters of type NamespacedKeyModifier and TypeMethodDescriptionstatic @Nullable PotionEffectType
PotionEffectType.getByKey
(@Nullable NamespacedKey key) Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.void
PotionBrewer.removePotionMix
(NamespacedKey key) Removes a potion mix recipe. -
Uses of NamespacedKey in org.bukkit.structure
Methods in org.bukkit.structure that return types with arguments of type NamespacedKeyModifier and TypeMethodDescriptionStructureManager.getStructures()
Gets the currently registered structures.Methods in org.bukkit.structure with parameters of type NamespacedKeyModifier and TypeMethodDescriptionvoid
StructureManager.deleteStructure
(@NotNull NamespacedKey structureKey) Unregisters the specified structure and deletes itsstructure file
from the primary world folder.void
StructureManager.deleteStructure
(@NotNull NamespacedKey structureKey, boolean unregister) Deletes thestructure file
for the specified structure from the primary world folder.StructureManager.getStructure
(@NotNull NamespacedKey structureKey) Gets a registered Structure.StructureManager.getStructureFile
(@NotNull NamespacedKey structureKey) Gets the location where a structure file would exist in the primary world directory based on the NamespacedKey using the format world/generated/{NAMESPACE}/structures/{KEY}.nbt.StructureManager.loadStructure
(@NotNull NamespacedKey structureKey) Loads the structure for the specified key and automatically registers it.StructureManager.loadStructure
(@NotNull NamespacedKey structureKey, boolean register) Loads a structure for the specified key and optionallyregisters
it.StructureManager.registerStructure
(@NotNull NamespacedKey structureKey, @NotNull Structure structure) Registers the given structure.void
StructureManager.saveStructure
(@NotNull NamespacedKey structureKey) Saves the currentlyregistered structure
for the specifiedkey
to the primary world folder as specified by {#getStructureFile(NamespacedKey}.void
StructureManager.saveStructure
(@NotNull NamespacedKey structureKey, @NotNull Structure structure) Saves a structure with a given key to the primary world folder.StructureManager.unregisterStructure
(@NotNull NamespacedKey structureKey) Unregisters a structure.