Spawn Events for Piglin in Minecraft

This Minecraft tutorial explains the spawn events that you can use for a piglin 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 piglin is piglin. The piglin 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.)

piglin

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 piglin in Minecraft Bedrock Edition (PE, Win10, Xbox One, PS4, Nintendo Switch) and Education Edition:

Minecraft ID Description Bedrock Edition
(Added in)
minecraft:entity_born Piglin has been born (which means it is a baby) 1.16.0
spawn_adult Piglin has spawned as adult 1.16.0
spawn_adult_melee Piglin has spawned as adult (in melee mode) 1.16.0
spawn_adult_melee_no_hunting Piglin has spawned as adult (in melee mode, no hunting) 1.16.0
spawn_adult_no_hunting Piglin has spawned as adult (no hunting) 1.16.0
spawn_adult_ranged Piglin has spawned as adult (in ranged mode) 1.16.0
spawn_adult_ranged_no_hunting Piglin has spawned as adult (in ranged mode, no hunting) 1.16.0
spawn_baby Piglin has spawned as baby 1.16.0
become_angry_event Piglin has become angry 1.16.0
become_calm_event Piglin has become calm 1.16.0
admire_item_started_event Piglin has started to admire item 1.16.0
admire_item_stopped_event Piglin has stopped admiring item 1.16.0
attack_cooldown_complete_event Piglin has completed attack cooldown 1.16.0
become_zombie_event Piglin is transforming 1.16.0
important_block_destroyed_event Piglin has noticed that an important block has been destroyed 1.16.0
start_zombification_event Piglin has started zombification 1.16.0
stop_zombification_event Piglin has stopped zombification 1.16.0
minecraft:entity_spawned Piglin has spawned 1.16.0

Spawn Event Example

To summon a baby piglin in Bedrock Edition (PE, Win10, Xbox One, PS4, Nintendo Switch) or Education Edition:

/summon piglin ~ ~ ~ spawn_baby

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

Command Examples

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

Command Generators

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