Script API - v1.26.10.20
    Preparing search index...

    Class AimAssistPresetBeta

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

    Index

    Constructors

    Properties

    defaultItemSettings?: string

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

    This property can throw when used.

    This property can't be read in early-execution mode.

    handSettings?: string

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

    This property can throw when used.

    This property can't be read in early-execution mode.

    identifier: string

    The unique Id associated with the preset.

    This property can't be read in early-execution mode.

    Methods

    • Returns string[]

      The array of block tags.

      Gets the list of block tags to exclude from aim assist targeting.

      This function can throw errors.

      minecraftcommon.EngineError

      This function can't be called in early-execution mode.

    • Returns string[]

      The array of block Ids.

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

      This function can throw errors.

      This function can't be called in early-execution mode.

    • Returns string[]

      The array of entity Ids.

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

      This function can throw errors.

      This function can't be called in early-execution mode.

    • Returns string[]

      The array of entity type families.

      Gets the list of entity type families to exclude from aim assist targeting.

      This function can throw errors.

      minecraftcommon.EngineError

      This function can't be called in early-execution mode.

    • 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.

      This function can't be called in early-execution mode.

    • 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.

      This function can't be called in early-execution mode.