User:PancakeIdentity/CommandOutput

From Minecraft Wiki
Jump to: navigation, search

Feel free to add any missing info to already covered stuff such as output types or any missing errors or anything.

general errors[edit]

Will be split out eventually and listen in each command's own section. Keeping here to make my life easier for now. TEST 3 Coord ERRORS


Most of the errors that make commands unable to store output are here. (All of them are only for Java Edition)

Trigger Message
General Commands
All syntax is valid but the command is not complete
command is unknown or not allowed
Unknown or incomplete command, see below for error
Could not parse command Could not parse command: <command>
Unexpected error An unexpected error occurred trying to execute that command
Wrong arguments See below

Errors below should probably be moved to Argument types instead of each command's own page. Because strictly speaking, they are argument errors rather than command failures.

Trigger Message
General arguments
An invalid argument is entered Incorrect argument for command
Argument is entered correctly but is followed by invalid characters Expected whitespace to end one argument, but found trailing data
minecraft:color argument
Color id does not exist Unknown color <color id>
minecraft:component argument
Not a valid raw JSON text Invalid chat component
minecraft:nbt_compound_tag argument
Tag has no key Expected key
Tag has no value Expected value
NBT has no "{", ":", "[", "]", or "}" Expected "<character>"
Invalid array type entered Invalid array type '<type>'
Incorrect type for list Can't insert <tag> into list of <tag>
Incorrect type for array Can't insert <tag> into <tag>
minecraft:dimension argument
Dimension id does not exist Unknown dimension '<Dimension id>'
minecraft:entity_anchor argument
A string other than eyes or feet is entered Invalid entity anchor position <entity anchor>
minecraft:entity argument
Enter a target selector when not allowed Selector not allowed
Entity name argument has invalid characters Invalid name or UUID
Not a valid target selector Unknown selector type '<target selector>'
Enter a target selector whose type is not allowed Missing selector type
Argument in target selector is not a valid argument Expected end of options
Argument in target selector is missing "=" Expected value for option '<argument>'
minecraft:entity argument that only allows single entities
More than one player is targeted Only one entity is allowed, but the provided selector allows more than one
minecraft:entity argument that only allows players
The selector targets non-player entities when only allowing players Only players may be affected by this command, but the provided selector includes entities
minecraft:entity argument that only allows single players and minecraft:score_holder argument
More than one player is targeted Only one player is allowed, but the provided selector allows more than one
minecraft:entity_summon argument
Entity type not exist Unknown entity: <entity type>
Namespaced ID entered is invalid Invalid ID
minecraft:game_profile argument
Unkown player That player does not exist
The selector targets non-player entities when only allowing players Only players may be affected by this command, but the provided selector includes entities
minecraft:item_enchantment argument
Enchantment id does not exist Unknown enchantment: <enchantment id>
Namespaced ID entered is invalid Invalid ID
minecraft:message argument
Target selector entered is invalid Unknown selector type '<target selector>'
Target selectors whose type is not allowed is entered Missing selector type
Argument in target selector is not a valid argument Expected end of options
Argument in target selector is missing "=" Expected value for option '<argument>'
minecraft:mob_effect argument
Effect does not exist Unknown effect: <effect ID>
Namespaced ID entered is invalid Invalid ID
minecraft:nbt_path argument
NBT path entered is invalid Invalid NBT path element
Tag has no key Expected key
Tag has no value Expected value
NBT has no "{", ":", "[", "]", or "}" Expected "<character>"
Invalid array type entered Invalid array type '<type>'
minecraft:nbt_tag argument
Value entered is invalid Expected value
Tag has no key Expected key
Tag has no value Expected value
NBT has no "{", ":", "[", "]", or "}" Expected "<character>"
Invalid array type entered Invalid array type '<type>'
minecraft:objective argument
(I can't find error)
minecraft:objective_criteria argument
Criterion entered does not exist Unknown criterion '<criterion>'
minecraft:operation argument
Operation entered is invalid Invalid operation
minecraft:particle argument
Particle id does not exist Unknown particle: <particle id>
Namespaced ID entered is invalid Invalid ID
minecraft:resource_location argument
Namespaced ID entered is invalid Invalid ID
minecraft:scoreboard_slot argument
Slot not exist Unknown display slot '<slot>'
minecraft:item_slot argument
Slot does not exist Unknown slot '<slot>'
minecraft:time argument
Unit entered does not exist Invalid unit
time is negative Tick count must be non-negative
minecraft:uuid argument
uuid entered is invalid Invalid UUID
minecraft:block_pos and minecraft:vec3 Arguement
A coordinate set is expected to have 3 coordinates but has less Incomplete (expected 3 coordinates)
Coordinate entered is invalid Expected a coordinate
Expected a block position
Expected doule
Coordinates types is mixed Cannot mix world & local coordinates (everything must either use ^ or not)
minecraft:column_pos and minecraft:vec2 Arguement
A coordinate set is expected to have 2 coordinates but has less Incomplete (expected 2 coordinates)
Coordinate entered is invalid Expected a coordinate
Expected a block position
Expected doule
Coordinates types mixed Cannot mix world & local coordinates (everything must either use ^ or not)
minecraft:block_predicate argument
Namespaced ID entered is invalid Invalid ID
Block tag does not exist Unknown block tag <tag ID>
Block does not exist Unknown block type <block>
incorrect blockstate property Block <block> does not have property '<blockstate>'
Property '<blockstate>' can only be set once for block <block>
Block <block> does not accept '<blockstate>' for <block> property
Expected value for property '<blockstate>' on block <block>
Expected closing ] for block state properties
minecraft:block_state argument
Namespaced ID entered is invalid Invalid ID
Block tag is not allowed but entered Tags aren't allowed here, only actual blocks
Block does not exist Unknown block type <block>
incorrect blockstate property Block <block> does not have property '<blockstate>'
Property '<blockstate>' can only be set once for block <block>
Block <block> does not accept '<blockstate>' for <block> property
Expected value for property '<blockstate>' on block <block>
minecraft:rotation argument
A rotation set is expected to have 2 coordinates but has less Incomplete (expected 2 coordinates)
rotation entered is invalid Expected a coordinate
Expected doule
minecraft:swizzle argument
Swizzle entered is invalid Invalid swizzle, expected combination of 'x', 'y' and 'z'
minecraft:function argument
Namespaced ID entered is invalid Invalid ID
minecraft:int_range and minecraft:float_range argument
Range entered is invalid Expected value or range of values
Min is bigger than max Min cannot be bigger than max
minecraft:item_predicate argument
Namespaced ID entered is invalid Invalid ID
Item tag does not exist Unknown item tag '<tag id>'
Item does not exist Unknown item <item id>
minecraft:item_stack argument
Namespaced ID entered is invalid Invalid ID
Item tag is not allowed but entered Tags aren't allowed here, only actual items
Item does not exist Unknown item <item id>
brigadier:integer argument
The argument only accepts integers, but invalid characters are used Expected integer
The integer is too big or small Integer must not be less than <min>, found <number>
Double must not be more than <min>, found <number>

Not an integer
The integer as above or below the integer overflow limit

Invalid integer '<number>'
brigadier:double argument
The argument only accepts doubles, but invalid characters are used Expected double
The double is too big or small Double must not be less than <min>, found <number>
Double must not be more than <min>, found <number>

Not a double
The double overflows

Invalid double '<number>'
brigadier:float argument
The argument only accepts floats, but invalid characters are used Expected float
The float is too big or small Float must not be less than <min>, found <number>
Float must not be more than <min>, found <number>
Not a float

The float overflows

Invalid float '<number>'
brigadier:long argument
The argument only accepts longs, but invalid characters are used Expected long
The long is too big or small Long must not be less than <min>, found <number>
Long must not be more than <min>, found <number>

Not a long
The long overflows

Invalid long '<number>'
brigadier:bool argument
A value other than 'true' or 'false' is entered Invalid boolean, expected 'true' or 'false' but found '<value>'
brigadier:string argument
Missing quote Expected quote to start a string
Missing quote Unclosed quoted string
Invalid escape sequence Invalid escape sequence '<character>' in quoted string

clear[edit]

This command is subject to general commands errors, argument errors.

Subcommand Trigger Type Stored Result Message

/clear
/clear <entity>
/clear <entity> <item> [<count>]

The player has an empty inventory
The player does not have the specified items

Failure 0

Single player: No items were found on player <player name>
Multiple players: No items were found on <number> players

/clear
/clear <entity>
/clear <entity> <item> [<count>]

Items are removed from the inventory Success items number

Single player: Removed <items number> items from player <player name>
Multiple players: Removed <items number> items from <players number> players

/clear <entity> <item> 0

The maxCount is set to 0 and the player has the specified items in their inventory Success items number

Single player: Found <item number> matching items on player <player name>
Multiple players: Found <items number> matching items on <players number> players

clone[edit]

This command is subject to general errors, block argument errors, and 3-coordinate point errors.

Trigger Type Message
Specified areas overlap and force is not set Failure The source and destination areas cannot overlap

No blocks match the specific filtered block
masked mode is used but only air blocks are selected

Failure No blocks were cloned
The selected area is larger than 32768 blocks Failure Too many blocks in the specified area (maximum 32768, specified <volume>)

Only 1 or 2 full coordinate sets are specified
filtered is set but no block is set to be filtered

Failure Unknown or incomplete command, see below for error
Blocks are successfully cloned Success Successfully cloned <number> blocks

deop[edit]

This command is subject to general errors, entity argument errors, multiplayer-only errors, and errors from commands that only affect a single player.[verify]

Trigger Type Message
The player is already not an operator Failure Nothing changed. The player is not an operator
The player is made an operator Success Made <player> no longer a server operator

difficulty[edit]

This command is subject to general errors.

Trigger Type Message
The difficulty is already set to the specified value Failure The difficulty did not change; it is already set to <difficulty>
The difficulty is not specified Success The difficulty is <difficulty>
The difficulty is specified and changed Success The difficulty has been set to <difficulty>

effect[edit]

This command is subject to general errors, entity argument errors, integer argument errors, and boolean argument errors.

Trigger Type Message
An invalid effect is entered Failure Unknown effect: <effect ID>

An effect is attempted to be applied to an entity that:

  • Is immune to the effect
  • Has a stronger version of the same effect
  • Has a longer version of the same effect of the same level
Failure Unable to apply this effect (target is either immune to effects, or has something stronger)
All effects are attempted to be removed from an entity with none Failure Target has no effects to remove
An effect is attempted to be removed from an entity that doesn't have it Failure Target doesn't have the requested effect
An effect is attempted to be applied with a duration less than 1 Failure Integer must not be less than 1, found <number>
An effect is attempted to be applied with a duration more than 1000000 Failure Integer must not be more than 1000000, found <number>
An effect is attempted to be applied with an amplifier less than 0 Failure Integer must not be less than 0, found <number>
An effect is attempted to be applied with an amplifier more than 255 Failure Integer must not be more than 255, found <number>
An effect is applied to a single entity Success Applied effect <effect name> to <entity name>
An effect is applied to multiple entities Success Applied effect <effect name> to <number> targets
All effects are removed from a single entity Success Removed every effect from <entity name>
All effects are removed from multiple entities Success Removed every effect from <number> targets
A specific effect is removed from a single entity Success Removed effect <effect name> from <entity name>
A specific effect is removed from multiple entities Success Removed effect <effect name> from <number> targets

enchant[edit]

This command is subject to general errors, entity argument errors, and integer argument errors.

Trigger Type Message

No targeted entities are holding an item that can be enchanted with the enchantment
Multiple entities that cannot hold items are targeted
Note that if even a single entity targeted is valid, the command will execute properly

Failure Nothing changed. Targets either have no item in their hands or the enchantment could not be applied
An invalid enchantment is entered Failure Unknown enchantment: <enchantment ID>
A single entity that cannot hold items is targeted Failure <entity name> is not a valid entity for this command
A single entity that is not holding any items is targeted Failure <entity name> is not holding any item

An item is attempted to be enchanted with an enchantment it cannot normally obtain in survival
An item is attempted to be enchanted with an enchantment that is incompatible with enchantments it already has
An item is attempted to be enchanted with an enchantment it already has of any level

Failure <item name> cannot support that enchantment
An item is attempted to be enchanted with a level higher than obtainable in survival Failure <number> is higher than the maximum level of <maximum level> supported by that enchantment
An item is attempted to be enchanted with a level lower than 0 Failure Integer must not be less than 0, found <number>
Enchantment applied to a single entity's item Success Applied enchantment <enchantment name> [<level>] to <entity name>'s item
Enchantment applied to a multiple entities items Success Applied enchantment <enchantment name> [<level>] to <number> entities

execute[edit]

WIP

Subcommand Trigger Type Message
align A string is entered that has more characters than a single 'x', 'y', and/or 'z' Failure Invalid swizzle, expected combination of 'x', 'y' and 'z'
Subcommand Trigger Type Message
anchored A string other than eyes or feet is entered Failure Invalid entity anchor position <string>

This command is subject to entity argument errors.

Subcommand Trigger Type Message

as
at

This command is subject to 3-coordinate point errors and entity argument errors

Subcommand Trigger Type Message

facing

A string other than entity is entered Failure Expected double