@minecraft/server
    Preparing search index...

    Class EntitySpawnCallbackArgsBeta

    A container for arguments passed to SpawnRulesRegistry.registerEntitySpawnCallback

    Required Experiments:

    • Simplified Spawn Rules
    Index

    Properties

    dimensionLocation: DimensionLocation

    The dimension and location of the spawn.

    spawnReason: EntitySpawnReason

    The reason for the spawn.

    spawnType: EntitySpawnType

    The entity spawn type.