Enumeration EntitySpawnReasonBeta

An enum containing reasons an entity could be spawned.

Enumeration Members

Breeding: "Breeding"

Remarks

Bred offspring.

Bucket: "Bucket"

Remarks

Spawned from a bucket (e.g. Fish)

ChunkGeneration: "ChunkGeneration"

Remarks

Spawned due to a chunk being generated.

Command: "Command"

Remarks

Spawned via the /summon command.

Conversion: "Conversion"

Remarks

Mob converted from another mob (e.g. Villager -> Zombie Villager).

DimensionTravel: "DimensionTravel"

Remarks

Mob transferred from another dimension.

Dispenser: "Dispenser"

Remarks

Spawned via dispenser.

Event: "Event"

Remarks

Mobs spawned due to some in game event.

Jockey: "Jockey"

Remarks

Jockey spawned with the mob they ride (e.g. Chicken jockey).

Load: "Load"

Remarks

Mob loaded in from a saved state.

MobSummoned: "MobSummoned"

Remarks

Mobs summoned via other mobs (e.g. Vex).

Natural: "Natural"

Remarks

Natural Mob Spawning.

Patrol: "Patrol"

Remarks

Mobs spawned due to a patrol.

Reinforcement: "Reinforcement"

Remarks

Mobs spawned from the reinforcement attribute (e.g. Zombies).

SpawnEgg: "SpawnEgg"

Remarks

Spawned from a spawn egg.

Spawner: "Spawner"

Remarks

Spawner spawns.

Structure: "Structure"

Remarks

Mobs generated specifically within some structure (Nether Fortress, Ocean Monument, Witch Hut, etc).

TrialSpawner: "TrialSpawner"

Remarks

Mobs spawned from a Trial Spawner.

Triggered: "Triggered"

Remarks

Some type of player triggered mob spawn (e.g. Skeleton Horse Traps, Wither, Snow Golem).