Contents
Class AudioStateSetCommand
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.AbstractWorldCommand
com.hypixel.hytale.builtin.audio.commands.AudioStateSetCommand
Sets a server-authority AudioState axis to one of its declared values on the target players.
Rejects client-authority axes - those must be set from client code.
Scope defaults to AudioStateSetCommand.Scope.World (every player in the executor's world). AudioStateSetCommand.Scope.Self
targets only the command sender. AudioStateSetCommand.Scope.Players targets the explicit set named by the
--players list arg (required when --scope=Players).
Optional fadeMs and curve build a per-call transition override the client uses
instead of the axis's matching transition. If both are absent, the client resolves via the
axis's own transition edges or DefaultTransition.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class AbstractCommand
AbstractCommand.SuggestionOverrideEntry -
Field Summary
Fields inherited from class AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractAsyncCommand
runAsyncMethods inherited from class AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, completeRegistration, countParents, getAliases, getDescription, getFullyQualifiedName, getName, getOptionalArgument, getOptionalArguments, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommand, getSubCommands, getSuggestionOverrides, getUsageShort, getUsageString, getVariantByArgCount, getVariantCommands, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requireNoPermission, requirePermission, requirePermission, setAllowsExtraArguments, setOwner, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Constructor Details
-
AudioStateSetCommand
public AudioStateSetCommand()
-