Package io.papermc.paper.datapack
Interface Datapack
public interface Datapack
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull Datapack.Compatibility
@NonNull String
getName()
boolean
void
setEnabled
(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
-
isEnabled
boolean isEnabled()- Returns:
- whether or not the pack is currently enabled
-
setEnabled
void setEnabled(boolean enabled)
-