Package cn.nukkit.command.defaults
Class PlaySoundCommand
java.lang.Object
cn.nukkit.command.Command
cn.nukkit.command.defaults.VanillaCommand
cn.nukkit.command.defaults.PlaySoundCommand
- All Implemented Interfaces:
GenericParameter
-
Nested Class Summary
Nested classes/interfaces inherited from interface cn.nukkit.command.data.GenericParameter
GenericParameter.CommandParameterSupplier<T>
-
Field Summary
Fields inherited from class cn.nukkit.command.Command
commandData, commandParameters, description, paramTree, timing, usageMessage
Fields inherited from interface cn.nukkit.command.data.GenericParameter
CHAINED_COMMAND, ITEM_NAME, OBJECTIVES, ORIGIN, TARGET_OBJECTIVES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
execute
(CommandSender sender, String commandLabel, Map.Entry<String, ParamList> result, CommandLogger log) Execute int.Methods inherited from class cn.nukkit.command.Command
addCommandParameters, allowChangesFrom, broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, enableParamTree, execute, generateCustomCommandData, generateDefaultData, getAliases, getCommandFormatTips, getCommandParameters, getCommandParameters, getDefaultCommandData, getDescription, getLabel, getName, getOverloads, getParamTree, getPermission, getPermissionMessage, getUsage, hasParamTree, isRegistered, parseTilde, register, setAliases, setCommandParameters, setDescription, setLabel, setPermission, setPermissionMessage, setUsage, testPermission, testPermissionSilent, toString, unregister
-
Constructor Details
-
PlaySoundCommand
-
-
Method Details
-
execute
@Since("1.19.60-r1") public int execute(CommandSender sender, String commandLabel, Map.Entry<String, ParamList> result, CommandLogger log) Description copied from class:Command
Execute int.
-