Contents
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 TypeFieldDescriptionstatic final AssetBuilderCodec<String, ObjectiveAsset> static final ValidatorCache<String> -
Constructor Summary
ConstructorsConstructorDescriptionObjectiveAsset(String id, String category, TaskSet[] taskSets, ObjectiveCompletionAsset[] completionHandlers, String objectiveTitleKey, String objectiveDescriptionKey, boolean removeOnItemDrop) -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultAssetMap<String, ObjectiveAsset> static AssetStore<String, ObjectiveAsset, DefaultAssetMap<String, ObjectiveAsset>> getId()TaskSet[]booleanbooleanbooleantoString()
-
Field Details
-
CODEC
-
VALIDATOR_CACHE
-
-
Constructor Details
-
ObjectiveAsset
-
-
Method Details
-
getAssetStore
public static AssetStore<String, ObjectiveAsset, DefaultAssetMap<String, ObjectiveAsset>> getAssetStore() -
getAssetMap
-
getId
-
getCategory
-
getTitleKey
-
getDescriptionKey
-
getTaskSets
-
getCompletionHandlers
-
getObjectiveTitleKey
-
getObjectiveDescriptionKey
-
isRemoveOnItemDrop
public boolean isRemoveOnItemDrop() -
isValidForPlayer
public boolean isValidForPlayer() -
isValidForMarker
public boolean isValidForMarker() -
toString
-