@minecraft
    正在准备搜索索引...

    类 AimAssistPreset实验性

    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.

    handSettings?: string

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

    This property can throw when used.

    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.

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

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