Interface ModuleContentLedger
- All Known Implementing Classes:
ContributionLedger
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Answers which custom game content a module added, for removal warnings.
The bootstrap content channels supply the real answer; until they install one, NONE
answers "nothing" for every module.
- Since:
- 7.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ModuleContentLedgerAnswersModuleContent.NONEfor every module. -
Method Summary
Modifier and TypeMethodDescriptionReturns the custom content the module added.
-
Field Details
-
NONE
AnswersModuleContent.NONEfor every module.
-
-
Method Details
-
contentOf
Returns the custom content the module added.- Parameters:
identifyString- the module's normalised identify string, ornullwhen unknownmoduleName- thenamefrom the module'splugin.yml; the primary lookup key- Returns:
- the content; never
null
-