Class ObjectiveCompleteCommand
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractCommandCollection
com.hypixel.hytale.builtin.adventure.objectives.commands.ObjectiveCompleteCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Messageprivate static final Messageprivate static final MessageFields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ObjectivegetObjectiveFromId(Ref<EntityStore> participantRef, String objectiveId, ComponentAccessor<EntityStore> componentAccessor) Methods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractCommandCollection
executeAsync, getFullUsage, getUsageStringMethods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
execute, runAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, canGeneratePermission, completeRegistration, countParents, generatePermissionNode, getAliases, getDescription, getFullyQualifiedName, getName, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommands, getUsageShort, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requirePermission, setAllowsExtraArguments, setOwner, setPermissionGroup, setPermissionGroups, setUnavailableInSingleplayer, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Field Details
-
MESSAGE_COMMANDS_OBJECTIVE_OBJECTIVE_NOT_FOUND
-
MESSAGE_COMMANDS_OBJECTIVE_NO_TASK_FOR_INDEX
-
MESSAGE_COMMANDS_OBJECTIVE_TASK_ALREADY_COMPLETED
-
-
Constructor Details
-
ObjectiveCompleteCommand
public ObjectiveCompleteCommand()
-
-
Method Details
-
getObjectiveFromId
@Nullable private static Objective getObjectiveFromId(@Nonnull Ref<EntityStore> participantRef, @Nonnull String objectiveId, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
-