classpublicPriority 3
ObjectiveLineAsset
com.hypixel.hytale.builtin.adventure.objectives.config.ObjectiveLineAsset
implements JsonAssetWithMap<String, DefaultAssetMap<String, ObjectiveLineAsset>>
10
Methods
10
Public Methods
8
Fields
2
Constructors
Constants
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(ObjectiveLineAsset::getAssetStore))
Constructors
protected
ObjectiveLineAsset()public
ObjectiveLineAsset(String id, String category, String[] objectiveIds, String objectiveTitleKey, String objectiveDescriptionKey, String[] nextObjectiveLineIds)Methods
Public Methods (10)
publicstatic
DefaultAssetMap<String, ObjectiveLineAsset> getAssetMap()publicstatic
AssetStore<String, ObjectiveLineAsset, DefaultAssetMap<String, ObjectiveLineAsset>> getAssetStore()public
String getCategory()public
String getId()public
String getNextObjectiveId(String currentObjectiveId)@Nullable
public
String[] getNextObjectiveLineIds()public
String getObjectiveDescriptionKey()public
String[] getObjectiveIds()public
String getObjectiveTitleKey()public
String toString()@Nonnull@Override
Fields
Protected Fields (7)
protected
String categoryprotected
AssetExtraInfo.Data extraDataprotected
String idprotected
String[] nextObjectiveLineIdsprotected
String objectiveDescriptionKeyprotected
String[] objectiveIdsprotected
String objectiveTitleKeyPrivate/Package Fields (1)
private
AssetStore<String, ObjectiveLineAsset, DefaultAssetMap<String, ObjectiveLineAsset>> ASSET_STORE