# Entity Outcome

The entity outcome spawns an entity in the world.

```json
{
  "type": "lucky:entity",
  "entity_type": "minecraft:creeper"
}
```

This outcome spawns 10 Creepers.

```json
{
  "type": "lucky:entity",
  "entity_type": "minecraft:creeper",
  "count": 10,
  "nbt": {
    "powered": true,
    "ignited": true,
    "CustomName": "{'text':'Lucky Creeper'}",
    "CustomNameVisible": true
  }
}
```

This outcome spawns 10 Creepers that are charged, ignited, and have the custom name "Lucky Creeper".
