This Minecraft tutorial explains how to use the /mobevent command with screenshots and step-by-step instructions.
You can enable or disable certain mob events such as pillager patrols and wandering trader spawn cycles using the /mobevent command in Minecraft. Let's explore how to use this cheat (game command).
* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
MobEvent Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE), the /mobevent command has different syntaxes depending on which mob event you wish to change.
To enable/disable the pillager patrols event (which also prevents Raids):
/mobevent minecraft:pillager_patrols_event [true¦false]
To enable/disable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event [true¦false]
To enable/disable both pillager patrol and wandering trader events:
/mobevent events_enabled [true¦false]
Definitions
- true enables the event.
- false disables the event.
MobEvent Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition, the /mobevent command has different syntaxes depending on which mob event you wish to change.
To enable/disable the pillager patrols event (which also prevents Raids):
/mobevent minecraft:pillager_patrols_event [true¦false]
To enable/disable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event [true¦false]
To enable/disable both pillager patrol and wandering trader events:
/mobevent events_enabled [true¦false]
Definitions
- true enables the event.
- false disables the event.
MobEvent Command in Minecraft PS4 Edition
In Minecraft PS4 Edition, the /mobevent command has different syntaxes depending on which mob event you wish to change.
To enable/disable the pillager patrols event (which also prevents Raids):
/mobevent minecraft:pillager_patrols_event [true¦false]
To enable/disable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event [true¦false]
To enable/disable both pillager patrol and wandering trader events:
/mobevent events_enabled [true¦false]
Definitions
- true enables the event.
- false disables the event.
MobEvent Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition, the /mobevent command has different syntaxes depending on which mob event you wish to change.
To enable/disable the pillager patrols event (which also prevents Raids):
/mobevent minecraft:pillager_patrols_event [true¦false]
To enable/disable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event [true¦false]
To enable/disable both pillager patrol and wandering trader events:
/mobevent events_enabled [true¦false]
Definitions
- true enables the event.
- false disables the event.
MobEvent Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition, the /mobevent command has different syntaxes depending on which mob event you wish to change.
To enable/disable the pillager patrols event (which also prevents Raids):
/mobevent minecraft:pillager_patrols_event [true¦false]
To enable/disable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event [true¦false]
To enable/disable both pillager patrol and wandering trader events:
/mobevent events_enabled [true¦false]
Definitions
- true enables the event.
- false disables the event.
MobEvent Command in Minecraft Education Edition
In Minecraft Education Edition, the /mobevent command has different syntaxes depending on which mob event you wish to change.
To enable/disable the pillager patrols event (which also prevents Raids):
/mobevent minecraft:pillager_patrols_event [true¦false]
To enable/disable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event [true¦false]
To enable/disable both pillager patrol and wandering trader events:
/mobevent events_enabled [true¦false]
Definitions
- true enables the event.
- false disables the event.
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Pocket Edition (PE)
To disable the pillager patrol event (which also disables Raids) in Minecraft PE:
/mobevent minecraft:pillager_patrols_event false
To disable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event false
Example in Xbox One Edition
To disable both the pillager patrol event (which also disables Raids) and the wandering trader spawn cycle in Minecraft Xbox One Edition:
/mobevent events_enabled false
To enable the pillager patrol event (which also enables Raids):
/mobevent minecraft:pillager_patrols_event true
Example in PS4 Edition
To enable the wandering trader spawn cycle in Minecraft PS4 Edition:
/mobevent minecraft:wandering_trader_event true
To disable the pillager patrol event (which also disables Raids):
/mobevent minecraft:pillager_patrols_event false
Example in Nintendo Switch Edition
To enable the pillager patrol event (which also disables Raids) in Minecraft Nintendo Switch Edition:
/mobevent minecraft:pillager_patrols_event true
To enable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event true
Example in Windows 10 Edition
To enable both the pillager patrol event (which also enables Raids) and the wandering trader spawn cycle in Minecraft Windows 10 Edition:
/mobevent events_enabled true
To disable the pillager patrol event (which also disables Raids):
/mobevent minecraft:pillager_patrols_event false
Example in Education Edition
To disable the pillager patrol event (which also disables Raids) in Minecraft Education Edition:
/mobevent minecraft:pillager_patrols_event false
To enable the wandering trader spawn cycle:
/mobevent minecraft:wandering_trader_event true
Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.
Once the cheat has been entered, the mob event will be updated.
Congratulations, you have learned how to use the /mobevent command in Minecraft.