Class ObjectiveAsset
java.lang.Object
com.hypixel.hytale.builtin.adventure.objectives.config.ObjectiveAsset
- All Implemented Interfaces:
JsonAsset<String>,JsonAssetWithMap<String,DefaultAssetMap<String, ObjectiveAsset>>
public class ObjectiveAsset
extends Object
implements JsonAssetWithMap<String,DefaultAssetMap<String,ObjectiveAsset>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static AssetStore<String, ObjectiveAsset, DefaultAssetMap<String, ObjectiveAsset>> protected Stringstatic final AssetBuilderCodec<String, ObjectiveAsset> protected ObjectiveCompletionAsset[]protected AssetExtraInfo.Dataprotected Stringprotected Stringprotected Stringprotected booleanprotected TaskSet[]static final ValidatorCache<String> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedObjectiveAsset(String id, String category, TaskSet[] taskSets, ObjectiveCompletionAsset[] completionHandlers, String objectiveTitleKey, String objectiveDescriptionKey, boolean removeOnItemDrop) -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultAssetMap<String, ObjectiveAsset> getId()TaskSet[]booleanbooleanbooleantoString()
-
Field Details
-
CODEC
-
VALIDATOR_CACHE
-
ASSET_STORE
-
extraData
-
id
-
category
-
taskSets
-
completionHandlers
-
objectiveTitleKey
-
objectiveDescriptionKey
-
removeOnItemDrop
protected boolean removeOnItemDrop
-
-
Constructor Details
-
ObjectiveAsset
-
ObjectiveAsset
protected ObjectiveAsset()
-
-
Method Details
-
getAssetStore
public static AssetStore<String,ObjectiveAsset, getAssetStore()DefaultAssetMap<String, ObjectiveAsset>> -
getAssetMap
-
getId
-
getCategory
-
getTitleKey
-
getDescriptionKey
-
getTaskSets
-
getCompletionHandlers
-
getObjectiveTitleKey
-
getObjectiveDescriptionKey
-
isRemoveOnItemDrop
public boolean isRemoveOnItemDrop() -
isValidForPlayer
public boolean isValidForPlayer() -
isValidForMarker
public boolean isValidForMarker() -
toString
-