Package org.bukkit.packs
Interface DataPack
- All Superinterfaces:
- net.kyori.adventure.key.Keyed,- Keyed
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a data pack.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version.Show the compatibility of the data pack with the server.static enumDeprecated, for removal: This API element is subject to removal in a future version.Represent the source of a data pack.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Gets the compatibility of this data pack with the server.Deprecated, for removal: This API element is subject to removal in a future version.Gets the description of the data pack.intDeprecated, for removal: This API element is subject to removal in a future version.Gets the pack version.Deprecated, for removal: This API element is subject to removal in a future version.Gets a set of features requested by this data pack.Deprecated, for removal: This API element is subject to removal in a future version.Gets the source of this data pack.getTitle()Deprecated, for removal: This API element is subject to removal in a future version.Gets the title of the data pack.booleanDeprecated, for removal: This API element is subject to removal in a future version.Gets if the data pack is enabled on the server.booleanDeprecated, for removal: This API element is subject to removal in a future version.Gets if the data pack is required on the server.
- 
Method Details- 
getTitleDeprecated, for removal: This API element is subject to removal in a future version.Gets the title of the data pack.- Returns:
- the title
 
- 
getDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Gets the description of the data pack.- Returns:
- the description
 
- 
getPackFormatint getPackFormat()Deprecated, for removal: This API element is subject to removal in a future version.Gets the pack version.
 This is related to the server version to work.- Returns:
- the pack version
 
- 
isEnabledboolean isEnabled()Deprecated, for removal: This API element is subject to removal in a future version.Gets if the data pack is enabled on the server.- Returns:
- True if is enabled
 
- 
isRequiredboolean isRequired()Deprecated, for removal: This API element is subject to removal in a future version.Gets if the data pack is required on the server.- Returns:
- True if is required
 
- 
getCompatibilityDeprecated, for removal: This API element is subject to removal in a future version.Gets the compatibility of this data pack with the server.- Returns:
- an enum
 
- 
getRequestedFeaturesDeprecated, for removal: This API element is subject to removal in a future version.Gets a set of features requested by this data pack.- Returns:
- a set of features
 
- 
getSourceDeprecated, for removal: This API element is subject to removal in a future version.Gets the source of this data pack.- Returns:
- the source
 
 
- 
Datapack