HyCodeYourTale
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)

protectedString category
protectedAssetExtraInfo.Data extraData
protectedString id
protectedString[] nextObjectiveLineIds
protectedString objectiveDescriptionKey
protectedString[] objectiveIds
protectedString objectiveTitleKey

Private/Package Fields (1)

privateAssetStore<String, ObjectiveLineAsset, DefaultAssetMap<String, ObjectiveLineAsset>> ASSET_STORE

Related Classes