Class NPCObjectivesPlugin
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.builtin.adventure.npcobjectives.NPCObjectivesPlugin
- All Implemented Interfaces:
CommandOwner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static NPCObjectivesPluginprivate ResourceType<EntityStore, KillTrackerResource> Fields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NPCObjectivesPluginget()static booleanprotected voidsetup()static voidstartObjective(Ref<EntityStore> playerReference, String taskId, Store<EntityStore> store) static StringupdateTaskCompletion(Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef, UUID npcId, String taskId) Methods inherited from class com.hypixel.hytale.server.core.plugin.JavaPlugin
getClassLoader, getFile, getType, start0Methods inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
getAssetRegistry, getBasePermission, getBlockStateRegistry, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad, setup0, shutdown, shutdown0, start, withConfig, withConfig
-
Field Details
-
instance
-
killTrackerResourceType
-
-
Constructor Details
-
NPCObjectivesPlugin
-
-
Method Details
-
get
-
setup
protected void setup()- Overrides:
setupin classPluginBase
-
hasTask
-
updateTaskCompletion
@Nullable public static String updateTaskCompletion(@Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull PlayerRef playerRef, @Nonnull UUID npcId, @Nonnull String taskId) -
startObjective
public static void startObjective(@Nonnull Ref<EntityStore> playerReference, @Nonnull String taskId, @Nonnull Store<EntityStore> store) -
getKillTrackerResourceType
-