@minecraft/server
    Preparing search index...

    Enumeration EntityInitializationCauseBeta

    An enumeration describing initialization cause of an entity.

    Index

    Enumeration Members

    Enumeration Members

    Born: "Born"

    Case when an entity is created as child of other entity or entities, e.g., cows making a cow or slimes making smaller slimes after dying.

    Event: "Event"

    Case when an entity is created by an event, e.g., a Wandering trader spawning llamas.

    Loaded: "Loaded"

    Case when an entity is loaded into the world.

    Spawned: "Spawned"

    Case when an entity is naturally spawned in the world.

    Transformed: "Transformed"

    Case when an entity is transformed into another entity.