@minecraft/server
    Preparing search index...

    Class ObstructionCallbackArgsBeta

    A container for arguments passed to SpawnRulesRegistry.registerObstructionCallback

    Required Experiments:

    • Simplified Spawn Rules
    Index

    Properties

    dimension: Dimension

    The dimension of the spawn.

    entity: Entity

    The entity being checked for obstruction.

    spawnType: EntitySpawnType

    The entity spawn type.