Commands/mobevent

Controls or queries what mob events are allowed to run.


 * Syntax




 * Arguments

event
 * 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.

or
 * 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.

To disable all events:
 * Examples

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

To query the status of pillager patrol generation:

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