Package org.bukkit.packs
Interface DataPackManager
Deprecated, for removal: This API element is subject to removal in a future version.
Manager of data packs.
- 
Method SummaryModifier and TypeMethodDescriptiongetDataPack(@NotNull NamespacedKey dataPackKey) Deprecated, for removal: This API element is subject to removal in a future version.Gets aDataPackby its key.Deprecated, for removal: This API element is subject to removal in a future version.Return all the availableDataPacks on the server.getDisabledDataPacks(@NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Return all the disabledDataPackin the World.getEnabledDataPacks(@NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Return all the enabledDataPackin the World.booleanisEnabledByFeature(@NotNull EntityType entityType, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the EntityType is enabled for use by the Features in World.booleanisEnabledByFeature(@NotNull Material material, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the Material is enabled for use by the features in World.
- 
Method Details- 
getDataPacksDeprecated, for removal: This API element is subject to removal in a future version.Return all the availableDataPacks on the server.- Returns:
- a Collection of DataPack
 
- 
getDataPackDeprecated, for removal: This API element is subject to removal in a future version.Gets aDataPackby its key.
- 
getEnabledDataPacksDeprecated, for removal: This API element is subject to removal in a future version.Return all the enabledDataPackin the World.- Parameters:
- world- the world to search
- Returns:
- a Collection of DataPack
 
- 
getDisabledDataPacksDeprecated, for removal: This API element is subject to removal in a future version.Return all the disabledDataPackin the World.- Parameters:
- world- the world to search
- Returns:
- a Collection of DataPack
 
- 
isEnabledByFeatureDeprecated, for removal: This API element is subject to removal in a future version.Gets if the Material is enabled for use by the features in World.- Parameters:
- material- Material to check (needs to be an- Material.isItem()or- Material.isBlock())
- world- World to check
- Returns:
- Trueif the Item/Block related to the material is enabled
 
- 
isEnabledByFeatureDeprecated, for removal: This API element is subject to removal in a future version.Gets if the EntityType is enabled for use by the Features in World.- Parameters:
- entityType- EntityType to check
- world- World to check
- Returns:
- Trueif the type of entity is enabled
 
 
- 
DatapackManager