Wiki 9Minecraft Wiki 9Minecraft

Entity

Minecraft Legends

EventTriggers
Official docs

Spawn a new entity on the client or server. The new entity's position and team is copied from the entity which has the badger:presentation_event component.

You can also spawn multiple entities with an array: "entity": ["badger:mob_zombie", "badger:piglin_runt", "badger:mob_wolf"]

Example:

"on_world_hit": {  
    "entity": "badger:pres_entity_test"  
}