@minecraft/server
    Preparing search index...

    Class AimAssistPresetBeta

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

    Index

    Properties

    defaultItemSettings?: string

    Optional. Default aim-assist category Id used for items not provided to setItemSettings.

    This property can throw when used.

    Error

    handSettings?: string

    Optional. Aim-assist category Id used for an empty hand.

    This property can throw when used.

    Error

    identifier: string

    The unique Id associated with the preset.

    Methods

    • Beta

      Returns string[]

      The array of block/entity Ids.

      Gets the list of block/entity Ids to exclude from aim assist targeting.

      This function can throw errors.

      Error

    • Beta

      Returns Record<string, string>

      The record mapping item Ids to aim-assist category Ids.

      Gets the per-item aim-assist category Ids.

      This function can throw errors.

      Error

    • Beta

      Returns string[]

      The array of item Ids.

      Gets the list of item Ids that will target liquid blocks with aim-assist when being held.

      This function can throw errors.

      Error