Commands/mobevent

Controls or queries what mob events are allowed to run.

Arguments

 * Specifies the event(s) to control or query. Can be one of the following:
 * for the event that generates an illager patrol,
 * for the event that spawns a wandering trader,
 * for the event subsystem. When this is disabled, no events occur; when enabled, only enabled events occur.


 * If specified,  enables the events and   disables them. If omitted, the current enabled status is displayed.

Result
Fails if arguments are not specifed correctly.

On success,
 * enables or disables the event subsystem if  was specified.
 * enables or disables the event if an event name was specified.
 * displays the enabled or disabled status if  was omitted.

Examples
To disable all events:

To enable wandering traders to be spawned (while the event subsystem is enabled):

To query the status of pillager patrol generation:

History
Команды консоли/mobevent 命令/mobevent