forked from VazkiiModsArchive/Skillable
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from pupnewfster/sublocks
Should complete and close #86
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/main/java/codersafterdark/reskillable/api/data/ParentLockKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package codersafterdark.reskillable.api.data; | ||
|
||
import codersafterdark.reskillable.base.LevelLockHandler; | ||
|
||
public interface ParentLockKey extends LockKey { | ||
/** | ||
* Retrieves any sub requirements this key may have. | ||
* This usually can be implemented by calling {@link LevelLockHandler#getLocks(Class, Object[])} | ||
* @return A RequirementHolder of the sub requirements. | ||
*/ | ||
RequirementHolder getSubRequirements(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters