Class AbstractAsyncWorldCommand
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.AbstractAsyncWorldCommand
- Direct Known Subclasses:
StressTestStartCommand,WorldGenReloadCommand
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAsyncWorldCommand(String description) AbstractAsyncWorldCommand(String name, String description) AbstractAsyncWorldCommand(String name, String description, boolean requiresConfirmation) -
Method Summary
Modifier and TypeMethodDescriptionprotected final CompletableFuture<Void> executeAsync(CommandContext context) protected abstract CompletableFuture<Void> executeAsync(CommandContext var1, World var2) Methods 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, getUsageString, 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_ERRORS_NO_WORLD
-
worldArg
-
-
Constructor Details
-
AbstractAsyncWorldCommand
-
AbstractAsyncWorldCommand
-
AbstractAsyncWorldCommand
-
-
Method Details
-
executeAsync
- Specified by:
executeAsyncin classAbstractAsyncCommand
-
executeAsync
@Nonnull protected abstract CompletableFuture<Void> executeAsync(@Nonnull CommandContext var1, @Nonnull World var2)
-