Editing
Commands
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Result === After trying to run the command comes different results, including "unparseable", "failed", "successful", "error",{{only|java}} and "Terminate".{{only|java}} ;Unparseable :If the entered command is incomplete or the arguments do not meet required [[argument types]], the command is unparseable. :When typing a argument into the chat bar, it's noticeable if an argument does not meet the required argument type {{in|java}}. ::{{IN|java}}, if not meet, the argument is marked red and an syntax error message is displayed. ::{{IN|bedrock}}, when typing in chat bar, if an argument can be identified by client, the next argument in grammar hints turns white from gray. If all arguments (including optional arguments) are entered, the whole grammar hint turns gray from white. However, being able to be identified by client doesn't guarantee that this argument meet required argument type. :{{IN|java}}, it behaves the same as typing in the chat bar when typing in a [[command block]]. :{{IN|bedrock}}, when entering into a command block, if the command is unparseable, an syntax error message is outputted into its output box after closing the command block screen. :When trying to execute an unparsable command, an error message is displayed. ::{{IN|java}}, it is "Unknown or incomplete command" or "Incorrect argument for command". ::{{IN|bedrock}}, it is "Unknown command" or "Syntax error: unexpected ... at ...". :If a command in a [[function]] file is unparseable, the function is unable to loaded in game. ;Failed and successful :A command's Success Conditions must be met in order for the game to consider the command "successful". This is used to determine a variety of things, such as the output of a [[redstone comparator]] feeding from a [[command block]] with a command. Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful. ;Error{{only|java}} :If an error occurs with the command, it means that there's a noticeable bug on this command. ;Terminate{{only|java}} :When running a {{cmd|execute}} command, if the subcommands specifies 0 execution context, the command does nothing and doesn't output anything. :For example: {{cmd|execute as @s run ...}} in a command block.
Summary:
Please note that all contributions to Kiiw may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Kiiw:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information