classpublicPriority 1
ObjectivePlugin
com.hypixel.hytale.builtin.adventure.objectives.ObjectivePlugin
extends JavaPlugin
18
Methods
18
Public Methods
6
Fields
1
Constructors
Constants
BuilderCodec<ObjectivePlugin.ObjectivePluginConfig>CODEC= BuilderCodec.builder(
ObjectivePlugin.ObjectivePluginConfig.class, ObjectivePlugin.Ob...
StringOBJECTIVE_LOCATION_MARKER_MODEL_ID= "Objective_Location_Marker"
longSAVE_INTERVAL_MINUTES= 5L
Constructors
public
ObjectivePlugin(JavaPluginInit init)Methods
Public Methods (18)
public
void addPlayerToExistingObjective(Store<EntityStore> store, UUID playerUUID, UUID objectiveUUID)public
boolean canPlayerDoObjective(Player player, String objectiveAssetId)public
boolean canPlayerDoObjectiveLine(Player player, String objectiveLineId)public
void cancelObjective(UUID objectiveUUID, Store<EntityStore> store)public
ObjectiveCompletion createCompletion(ObjectiveCompletionAsset completionAsset)public
ObjectiveTask createTask(ObjectiveTaskAsset task, int taskSetIndex, int taskIndex)public
DataStoreProvider getDataStoreProvider()public
String getObjectiveDataDump()@Nonnull
public
ObjectiveDataStore getObjectiveDataStore()public
ComponentType<EntityStore, ObjectiveHistoryComponent> getObjectiveHistoryComponentType()public
ComponentType<EntityStore, ObjectiveLocationMarker> getObjectiveLocationMarkerComponentType()public
Model getObjectiveLocationMarkerModel()public
ComponentType<EntityStore, ReachLocationMarker> getReachLocationMarkerComponentType()public
void objectiveCompleted(Objective objective, Store<EntityStore> store)public
void removePlayerFromExistingObjective(Store<EntityStore> store, UUID playerUUID, UUID objectiveUUID)public
void storeObjectiveHistoryData(Objective objective)public
void storeObjectiveLineHistoryData(ObjectiveLineHistoryData objectiveLineHistoryData, Set<UUID> playerUUIDs)public
void untrackObjectiveForPlayer(Objective objective, UUID playerUUID)Fields
Protected Fields (1)
protected
ObjectivePlugin instancePrivate/Package Fields (5)
private
ObjectiveDataStore objectiveDataStoreprivate
ComponentType<EntityStore, ObjectiveHistoryComponent> objectiveHistoryComponentTypeprivate
ComponentType<EntityStore, ObjectiveLocationMarker> objectiveLocationMarkerComponentTypeprivate
Model objectiveLocationMarkerModelprivate
ComponentType<EntityStore, ReachLocationMarker> reachLocationMarkerComponentTypeRelated Classes
Used By
AssetRegistryLoadedAssetsEventDefaultAssetMapObjectiveCompletionObjectiveHistoryComponentObjectiveAssetObjectiveLineAssetObjectiveLocationMarkerAssetObjectiveCompletionAssetObjectiveTaskAssetObjectiveHistoryDataObjectiveLineHistoryDataStartObjectiveInteractionObjectiveMarkerProviderObjectiveLocationMarkerReachLocationMarkerObjectiveTaskUseEntityObjectiveTaskCodecKeyedCodec+39 more