Interface Requirement
-
- All Superinterfaces:
MenuElement
- All Known Implementing Classes:
BaseRequirement,ConditionRequirement,CooldownRequirement,LevelRequirement,PermissionRequirement,RequirementSet,TakableRequirement,VersionRequirement
public interface Requirement extends MenuElement
The requirement
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRequirement.ResultThe result of the requirement
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Requirement.Resultcheck(UUID uuid)Check the requirement for the unique idStringgetName()Get the name of the requirement-
Methods inherited from interface me.hsgamer.bettergui.api.menu.MenuElement
getMenu
-
-
-
-
Method Detail
-
check
Requirement.Result check(UUID uuid)
Check the requirement for the unique id- Parameters:
uuid- the unique id- Returns:
- the result
-
getName
String getName()
Get the name of the requirement- Returns:
- the name
-
-