Package io.papermc.paper.datapack
Interface Datapack
public interface Datapack
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescription@NonNull Datapack.Compatibility@NonNull StringgetName()booleanvoidsetEnabled(boolean enabled) 
- 
Method Details- 
getName@NonNull String getName()- Returns:
- the name of the pack
 
- 
getCompatibility@NonNull Datapack.Compatibility getCompatibility()- Returns:
- the compatibility of the pack
 
- 
isEnabledboolean isEnabled()- Returns:
- whether or not the pack is currently enabled
 
- 
setEnabledvoid setEnabled(boolean enabled) 
 
-