类 AimAssistPresetbeta

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

属性

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.

方法

  • 返回 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

  • 返回 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

  • 返回 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