Settings used with AimAssistRegistry.addPreset for creation of the AimAssistPreset.

Required Experiments:

  • Camera Aim Assist

Constructors

  • Parameters

    • identifier: string

    Returns AimAssistPresetSettings

    Constructor that takes a unique Id to associate with the created AimAssistPreset. Must have a namespace.

Properties

defaultItemSettings?: string

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

This property can't be edited in read-only mode.

handSettings?: string

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

This property can't be edited in read-only mode.

identifier: string

The unique Id used to register the preset with. Must have a namespace.

Methods

  • Returns string[]

    The array of block/entity Ids.

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

  • Returns Record<string, string>

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

    Gets the per-item aim-assist category Ids.

  • Returns string[]

    The array of item Ids.

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

  • Parameters

    • Optionaltargets: string[]

      An array of block/entity Ids.

    Returns void

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

  • Parameters

    • itemSettings: Record<string, string>

      A record mapping item Ids to aim-assist category Ids. Category Ids must have a namespace.

    Returns void

    Sets the per-item aim-assist category Ids.

  • Parameters

    • Optionalitems: string[]

      An array of item Ids.

    Returns void

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