Commands/event

Used to trigger an event on an entity.

Arguments

 * Specifies the target(s) to execute an entity event. If not specified, defaults to the executor who executed the command.
 * Specifies the target(s) to execute an entity event. If not specified, defaults to the executor who executed the command.


 * Must be either a single word (no spaces) or a quoted string.
 * Specifies the in-game event for the entity. Should be a spawn event (event name for entities in behavior pack).

History
命令/event