public class LevelRequirement extends TakableRequirement<Integer>
Requirement.Result| Constructor and Description |
|---|
LevelRequirement(RequirementBuilder.Input input) |
| Modifier and Type | Method and Description |
|---|---|
protected Requirement.Result |
checkConverted(UUID uuid,
Integer value)
Check the requirement for the unique id with the converted value
|
protected Integer |
convert(Object value,
UUID uuid)
Convert the raw value to the final value
|
protected boolean |
getDefaultTake()
Get the default "take" state
|
protected Object |
getDefaultValue()
Get the default value
|
handleValue, successConditional, successConditionalcheck, getFinalValue, getMenu, getNamepublic LevelRequirement(RequirementBuilder.Input input)
protected Integer convert(Object value, UUID uuid)
BaseRequirementconvert in class BaseRequirement<Integer>value - the raw valueprotected Requirement.Result checkConverted(UUID uuid, Integer value)
BaseRequirementcheckConverted in class BaseRequirement<Integer>uuid - the unique idvalue - the converted valueprotected boolean getDefaultTake()
TakableRequirementgetDefaultTake in class TakableRequirement<Integer>protected Object getDefaultValue()
TakableRequirementgetDefaultValue in class TakableRequirement<Integer>Copyright © 2023. All rights reserved.