@minecraft/server
    Preparing search index...

    Class AimAssistCategoryBeta

    Handle to an aim-assist category that exists in the world.aimAssist registry.

    Index

    Properties

    defaultBlockPriority: number

    Default targeting priority used for block types not found in getBlockPriorities.

    This property can throw when used.

    Error

    defaultEntityPriority: number

    Default targeting priority used for entity types not found in getEntityPriorities.

    This property can throw when used.

    Error

    identifier: string

    The unique Id associated with the category.

    Methods

    • Beta

      Returns Record<string, number>

      The record mapping block Ids to their priority settings. Larger numbers have greater priority.

      Gets the priority settings used for block targeting.

      This function can throw errors.

      Error

    • Beta

      Returns Record<string, number>

      The record mapping entity Ids to their priority settings. Larger numbers have greater priority.

      Gets the priority settings used for entity targeting.

      This function can throw errors.

      Error