@ascentbv/ts-common - v1.0.123
    Preparing search index...

    Class SpawningUtilAbstract

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Checks whether a given location is valid for spawning an entity. It ensures that the block below is solid, and the space above is clear of obstructions or liquid.

      Parameters

      • location: Vec3

        The target location to check for spawning.

      • dimension: Dimension

        The dimension in which the check is performed.

      Returns boolean

      True if the location is suitable for spawning; false otherwise.