Entity Commands
Last updated
Last updated
"Multi-world" compatibility for the vanilla commands.
execute in <<NAME
OF
YOUR_WORLD>> run ...
Example, you want summon a Zombie in the world SsomarWorld:
execute in <<SsomarWorld>> run summon zombie 100 50 100
Example with a placeholder:
execute in <<%entity_world%>> run summon zombie 100 50 100
In addition of the following list of commands you can also use:
These commands can be used in the Player related commands OR Entity related commands.
Sorted by alphabetical order
Info: Sets the entity target to a specific UUID
Command settings:
entityUUID: The entity UUID of the target
Example:
Info: Sets whether this mob is aware of its surroundings. Unaware mobs will still move if pushed, attacked, etc. but will not move or perform any actions on their own. Unaware mobs may also have other unspecified behaviours disabled, such as drowning.
Command settings:
value: true or false
Example:
Info: Replaces the mob with an entity of another type. It will keep the current velocity of the current entity.
Or an entity definition example: {HasVisualFire:1b,id:"minecraft:bee"} (1.21.+)
Or a MythicMob ID
Command settings:
entity: The entity specification
Example:
Info: Drops an Executable Item in the entity's location
Command: DROPEXECUTABLEITEM {id} {quantity}
{id}: Item id of the ExecutableItem
{quantity}: The amount of the executable item that will drop
Example:
Info: Drops an Executable Block in the entity's location
Command: DROPEXECUTABLEBLOCK {id} {quantity}
{id}: Item id of the ExecutableBlock
{quantity}: The amount of the executable block that will drop
Example:
Info: Drops an item in the entity's location
Command: DROPITEM {material} {quantity}
{quantity}: The amount of the item that will drop
Example:
Info: Heals the entity with a specific amount, if not specified it will full heal the entity.
Command settings:
amount: The amount of the heal
Example:
Info: Kills the mob without the death animation
No command setting
Example:
Info: Makes the player to ride the entity targeted.
No command setting
Example:
Info: Sets the AI state of the entity
Command settings:
value: true to enable the AI of the entity and false to disable.
Example:
Info: Sets the entity in it's "adult" state
No command setting
Example:
Example Situation:
If this command is executed on a baby chicken, it will turn into its adult form.
Info: Sets the entity in it's "baby" state
No command setting
Example:
Example Situation:
If this command is executed on a adult chicken, it will turn into its baby form.
Info: Forcefully sets the entity's name
Command settings:
name: the new name of the entity
Example:
Info: Shear the entity
No command setting
Example:
Info: Teleports the entity to the user of the item
No command setting
Example:
Info: Teleports the user of the item to the entity
No command setting
Example:
Info: Teleports the entity in a specific location
Command settings:
x: X-Coordinate
y: Y-Coordinate
z: Z-Coordinate
Example:
In addition of the following list of commands you can also use:
These commands can be used in the Player related commands OR Entity related commands.
You can specify an
{material}: The item type. (MUST BE AT ALL CAPS)