Minecraft Wiki
Advertisement
Ingredients Crafting recipe
Stick +
Gold Ingot +
Gold Nugget

general errors

TEST 3 Coord ERRORS

Trigger Message
General
An invalid argument is entered Incorrect argument for command
All syntax is valid but the command is not complete Unknown or incomplete command, see below for error
Argument is entered correctly but is followed by invalid characters Expected whitespace to end one argument, but found trailing data
Item Argument
Item does not exist Unknown item <item id>
Item tag does not exist Unknown item tag <tag id>
Block Argument
Block does not exist Unknown block type <block ID>
Block tag does not exist Unknown block tag <tag ID>
Entity Argument
Entity name argument has invalid characters Invalid name or UUID
Integer Argument
The argument only accepts integers, but non-integer characters are used Expected integer

The character "." is in an integer argument (before any other invalid characters)
The integer as above or below the integer overflow limit

Invalid integer <number>
Boolean Argument
A value other than 'true' or 'false' is entered Invalid boolean, expected 'true' or 'false' but found '<value>'
3-Coordinate Point Arguement
A coordinate set is expected to have 3 coordinates but has less Incomplete (expected 3 coordinates)
Multiplayer-Only
The command is executed outside of multiplayer Unknown or incomplete command, see below for error
Commands that only affect players
The selector targets non-player entities Only players may be affected by this command, but the provided selector includes entities
No players are affected given the selector No player was found
Commands that only affect single players
The selector targets non-player entities Only players may be affected by this command, but the provided selector includes entities
No players are affected given the selector No player was found
More than one player is targeted Only one player is allowed, but the provided selector allows more than one

clear

This command is subject to general errors, item argument errors, entity argument errors, and errors from commands affecting players.

Trigger Type Message

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

Failure

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

Items are removed from the inventory Success

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

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

Single player: Found <number> matching items on player <player name>
Multiple players: Found <number> matching items on <number> players[verify]

clone

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

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

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

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

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

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
Advertisement