Spawn Events for Guardian in Minecraft

This Minecraft tutorial explains the spawn events that you can use for a guardian in Minecraft Bedrock Edition (PE, Win10, Xbox One, PS4, Nintendo Switch) and Education Edition.

Background

In the latest version of Minecraft Bedrock Edition and Education Edition, the entity value for a guardian is guardian. The guardian entity has a unique set of spawn events that can be used in Minecraft commands such as: /summon and /event. (The spawn event parameter is called spawnEvent in the Minecraft help for the /summon command and eventName in the Minecraft help for the /event command.)

guardian

What is a Spawn Event?

Spawn events allow you to trigger certain in-game events for an entity in Bedrock Edition (PE, Win10, Xbox One, PS4, Nintendo Switch) and Education Edition. Currently, you can only trigger one spawn event at a time when you use the /summon or /event commands.

List of Spawn Events

Here is a list of the spawn events that you can use for a guardian in Minecraft Bedrock Edition (PE, Win10, Xbox One, PS4, Nintendo Switch) and Minecraft Education Edition:

Minecraft ID Description Bedrock Edition
(Added in)
minecraft:target_far_enough The target is far enough for the Guardian 1.12.0
minecraft:target_too_close The target is too close for the Guardian 1.12.0

Spawn Event Example

To summon a guardian that has a status of "target is far enough" in Bedrock Edition (PE, Win10, Xbox One, PS4, Nintendo Switch) or Education Edition:

/summon guardian ~ ~ ~ minecraft:target_far_enough

Next, learn how to use the game commands in Minecraft.

Command Examples

Here are some game command examples for a guardian in Minecraft:

Command Generators

If you need help, you can use these tools to automatically generate commands for you: