| Package | Description | 
|---|---|
| com.destroystokyo.paper | |
| org.bukkit | More generalized classes in the API. | 
| org.bukkit.block | Classes used to manipulate the voxels in a  world,
 including special states. | 
| org.bukkit.enchantments | Classes relating to the specialized enhancements to  item stacks, as part of themeta data. | 
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a  world, including all players, monsters, projectiles, etc. | 
| org.bukkit.entity.memory | |
| org.bukkit.event.player | |
| org.bukkit.inventory | Classes involved in manipulating player inventories and item interactions. | 
| org.bukkit.inventory.meta | The interfaces used when manipulating extra data can can be stored inside
  item stacks. | 
| org.bukkit.inventory.meta.tags | |
| org.bukkit.loot | |
| org.bukkit.persistence | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | MaterialSetTag. getKey() | 
| Constructor | Description | 
|---|---|
| MaterialSetTag(NamespacedKey key,
              Collection<Material> materials) | |
| MaterialSetTag(NamespacedKey key,
              Predicate<Material> filter) | |
| MaterialSetTag(NamespacedKey key,
              Material... materials) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | Art. getKey() | |
| NamespacedKey | Keyed. getKey() | Return the namespaced identifier for this object. | 
| NamespacedKey | Material. getKey() | |
| NamespacedKey | Statistic. getKey() | |
| static NamespacedKey | NamespacedKey. minecraft(String key) | Get a key in the Minecraft namespace. | 
| static NamespacedKey | NamespacedKey. randomKey() | Deprecated.
 should never be used by plugins, for internal use only!! | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static KeyedBossBar | Bukkit. createBossBar(NamespacedKey key,
             String title,
             BarColor color,
             BarStyle style,
             BarFlag... flags) | Creates a boss bar instance to display to players. | 
| KeyedBossBar | Server. createBossBar(NamespacedKey key,
             String title,
             BarColor color,
             BarStyle style,
             BarFlag... flags) | Creates a boss bar instance to display to players. | 
| T | Registry. get(NamespacedKey key) | Get the object by its key. | 
| T | Registry.SimpleRegistry. get(NamespacedKey key) | |
| static Advancement | Bukkit. getAdvancement(NamespacedKey key) | Get the advancement specified by this key. | 
| Advancement | Server. getAdvancement(NamespacedKey key) | Get the advancement specified by this key. | 
| static KeyedBossBar | Bukkit. getBossBar(NamespacedKey key) | Gets the  KeyedBossBarspecified by this key. | 
| KeyedBossBar | Server. getBossBar(NamespacedKey key) | Gets the  KeyedBossBarspecified by this key. | 
| static LootTable | Bukkit. getLootTable(NamespacedKey key) | Gets the specified  LootTable. | 
| LootTable | Server. getLootTable(NamespacedKey key) | Gets the specified  LootTable. | 
| static <T extends Keyed> | Bukkit. getTag(String registry,
      NamespacedKey tag,
      Class<T> clazz) | Gets a tag which has already been defined within the server. | 
| <T extends Keyed> | Server. getTag(String registry,
      NamespacedKey tag,
      Class<T> clazz) | Gets a tag which has already been defined within the server. | 
| Advancement | UnsafeValues. loadAdvancement(NamespacedKey key,
               String advancement) | Deprecated. Load an advancement represented by the specified string into the server. | 
| boolean | UnsafeValues. removeAdvancement(NamespacedKey key) | Deprecated. Delete an advancement which was loaded and saved by
  UnsafeValues.loadAdvancement(org.bukkit.NamespacedKey, java.lang.String). | 
| static boolean | Bukkit. removeBossBar(NamespacedKey key) | Removes a  KeyedBossBarspecified by this key. | 
| boolean | Server. removeBossBar(NamespacedKey key) | Removes a  KeyedBossBarspecified by this key. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | Biome. getKey() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | Enchantment. getKey() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Enchantment | Enchantment. getByKey(NamespacedKey key) | Gets the Enchantment at the specified key | 
| Constructor | Description | 
|---|---|
| Enchantment(NamespacedKey key) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | EntityType. getKey() | |
| NamespacedKey | Villager.Profession. getKey() | |
| NamespacedKey | Villager.Type. getKey() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | HumanEntity. discoverRecipe(NamespacedKey recipe) | Discover a recipe for this player such that it has not already been
 discovered. | 
| boolean | HumanEntity. undiscoverRecipe(NamespacedKey recipe) | Undiscover a recipe for this player such that it has already been
 discovered. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| int | 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. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | MemoryKey. getKey() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static MemoryKey | MemoryKey. getByKey(NamespacedKey namespacedKey) | Returns a  MemoryKeyby aNamespacedKey. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | PlayerRecipeDiscoverEvent. getRecipe() | Get the namespaced key of the discovered recipe. | 
| Constructor | Description | 
|---|---|
| PlayerRecipeDiscoverEvent(Player who,
                         NamespacedKey recipe) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | CookingRecipe. getKey() | |
| NamespacedKey | ShapedRecipe. getKey() | |
| NamespacedKey | ShapelessRecipe. getKey() | |
| NamespacedKey | StonecuttingRecipe. getKey() | 
| Constructor | Description | 
|---|---|
| BlastingRecipe(NamespacedKey key,
              ItemStack result,
              RecipeChoice input,
              float experience,
              int cookingTime) | |
| BlastingRecipe(NamespacedKey key,
              ItemStack result,
              Material source,
              float experience,
              int cookingTime) | |
| CampfireRecipe(NamespacedKey key,
              ItemStack result,
              RecipeChoice input,
              float experience,
              int cookingTime) | |
| CampfireRecipe(NamespacedKey key,
              ItemStack result,
              Material source,
              float experience,
              int cookingTime) | |
| CookingRecipe(NamespacedKey key,
             ItemStack result,
             RecipeChoice input,
             float experience,
             int cookingTime) | Create a cooking recipe to craft the specified ItemStack. | 
| CookingRecipe(NamespacedKey key,
             ItemStack result,
             Material source,
             float experience,
             int cookingTime) | Create a cooking recipe to craft the specified ItemStack. | 
| FurnaceRecipe(NamespacedKey key,
             ItemStack result,
             RecipeChoice input,
             float experience,
             int cookingTime) | Create a furnace recipe to craft the specified ItemStack. | 
| FurnaceRecipe(NamespacedKey key,
             ItemStack result,
             Material source,
             float experience,
             int cookingTime) | Create a furnace recipe to craft the specified ItemStack. | 
| FurnaceRecipe(NamespacedKey key,
             ItemStack result,
             Material source,
             int data,
             float experience,
             int cookingTime) | Deprecated. | 
| ShapedRecipe(NamespacedKey key,
            ItemStack result) | Create a shaped recipe to craft the specified ItemStack. | 
| ShapelessRecipe(NamespacedKey key,
               ItemStack result) | Create a shapeless recipe to craft the specified ItemStack. | 
| SmokingRecipe(NamespacedKey key,
             ItemStack result,
             RecipeChoice input,
             float experience,
             int cookingTime) | |
| SmokingRecipe(NamespacedKey key,
             ItemStack result,
             Material source,
             float experience,
             int cookingTime) | |
| StonecuttingRecipe(NamespacedKey key,
                  ItemStack result,
                  RecipeChoice input) | Create a cooking recipe to craft the specified ItemStack. | 
| StonecuttingRecipe(NamespacedKey key,
                  ItemStack result,
                  Material source) | Create a Stonecutting recipe to craft the specified ItemStack. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| List<NamespacedKey> | KnowledgeBookMeta. getRecipes() | Gets all the recipes in the book. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | KnowledgeBookMeta. addRecipe(NamespacedKey... recipes) | Adds new recipe to the end of the book. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | KnowledgeBookMeta. setRecipes(List<NamespacedKey> recipes) | Clears the existing book recipes, and sets the book to use the provided
 recipes. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| <T,Z> Z | CustomItemTagContainer. getCustomTag(NamespacedKey key,
            ItemTagType<T,Z> type) | Deprecated. Returns the custom tag's value that is stored on the item. | 
| <T,Z> boolean | CustomItemTagContainer. hasCustomTag(NamespacedKey key,
            ItemTagType<T,Z> type) | Deprecated. Returns if the item meta has a custom tag registered matching the
 provided parameters. | 
| void | CustomItemTagContainer. removeCustomTag(NamespacedKey key) | Deprecated. Removes a custom key from the item meta. | 
| <T,Z> void | CustomItemTagContainer. setCustomTag(NamespacedKey key,
            ItemTagType<T,Z> type,
            Z value) | Deprecated. Stores a custom value on the  ItemMeta. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| NamespacedKey | LootTables. getKey() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| <T,Z> Z | PersistentDataContainer. get(NamespacedKey key,
   PersistentDataType<T,Z> type) | Returns the metadata value that is stored on the
  PersistentDataHolderinstance. | 
| <T,Z> Z | PersistentDataContainer. getOrDefault(NamespacedKey key,
            PersistentDataType<T,Z> type,
            Z defaultValue) | Returns the metadata value that is stored on the
  PersistentDataHolderinstance. | 
| <T,Z> boolean | PersistentDataContainer. has(NamespacedKey key,
   PersistentDataType<T,Z> type) | Returns if the persistent metadata provider has metadata registered
 matching the provided parameters. | 
| void | PersistentDataContainer. remove(NamespacedKey key) | Removes a custom key from the  PersistentDataHolderinstance. | 
| <T,Z> void | PersistentDataContainer. set(NamespacedKey key,
   PersistentDataType<T,Z> type,
   Z value) | Stores a metadata value on the  PersistentDataHolderinstance. | 
Copyright © 2020. All rights reserved.