Contents
Class ObjectiveExistsValidator
java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.validators.AssetValidator
com.hypixel.hytale.builtin.adventure.npcobjectives.npc.validators.ObjectiveExistsValidator
-
Nested Class Summary
Nested classes/interfaces inherited from class AssetValidator
AssetValidator.Config -
Field Summary
Fields inherited from class AssetValidator
CanBeEmpty, ListCanBeEmpty -
Method Summary
Modifier and TypeMethodDescriptionerrorMessage(String objective, String attributeName) static ObjectiveExistsValidatorrequired()This particular validator is initialised with no parameters and thus does not allow matchers or null or empty objectivesbooleanstatic ObjectiveExistsValidatorwithConfig(EnumSet<AssetValidator.Config> config) Methods inherited from class AssetValidator
canBeEmpty, canListBeEmpty, isListNullable, isMatcher, isNullable, updateSchema
-
Method Details
-
getDomain
- Specified by:
getDomainin classAssetValidator
-
test
- Specified by:
testin classAssetValidator
-
errorMessage
- Specified by:
errorMessagein classAssetValidator
-
getAssetName
- Specified by:
getAssetNamein classAssetValidator
-
required
This particular validator is initialised with no parameters and thus does not allow matchers or null or empty objectives- Returns:
- validator instance
-
withConfig
-