classpublicPriority 3
ObjectiveAsset
com.hypixel.hytale.builtin.adventure.objectives.config.ObjectiveAsset
implements JsonAssetWithMap<String, DefaultAssetMap<String, ObjectiveAsset>>
14
Methods
14
Public Methods
9
Fields
2
Constructors
Constants
AssetBuilderCodec<String, ObjectiveAsset>CODEC= AssetBuilderCodec.builder(
ObjectiveAsset.class,
ObjectiveAsset::new,
...
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(ObjectiveAsset::getAssetStore))
Constructors
protected
ObjectiveAsset()public
ObjectiveAsset(String id, String category, TaskSet[] taskSets, ObjectiveCompletionAsset[] completionHandlers, String objectiveTitleKey, String objectiveDescriptionKey, boolean removeOnItemDrop)Methods
Public Methods (14)
publicstatic
DefaultAssetMap<String, ObjectiveAsset> getAssetMap()publicstatic
AssetStore<String, ObjectiveAsset, DefaultAssetMap<String, ObjectiveAsset>> getAssetStore()public
String getCategory()public
ObjectiveCompletionAsset[] getCompletionHandlers()public
String getDescriptionKey()public
String getId()public
String getObjectiveDescriptionKey()public
String getObjectiveTitleKey()public
TaskSet[] getTaskSets()public
String getTitleKey()public
boolean isRemoveOnItemDrop()public
boolean isValidForMarker()public
boolean isValidForPlayer()public
String toString()@Nonnull@Override
Fields
Protected Fields (8)
protected
String categoryprotected
ObjectiveCompletionAsset[] completionHandlersprotected
AssetExtraInfo.Data extraDataprotected
String idprotected
String objectiveDescriptionKeyprotected
String objectiveTitleKeyprotected
boolean removeOnItemDropprotected
TaskSet[] taskSetsPrivate/Package Fields (1)
private
AssetStore<String, ObjectiveAsset, DefaultAssetMap<String, ObjectiveAsset>> ASSET_STORE