konsolas / AAC-Issues

AAC Issue Tracker.
32 stars 15 forks source link

Suggestion: PAPI support in config #2247

Closed KaspianDev closed 3 years ago

KaspianDev commented 3 years ago

My suggestion is to add support for PlaceholderAPI in AAC configuration, example (MOST LIKELY IT WONT EVEN WORK ITS JUST AN EXAMPLE):

  interact:
    enabled: true

    # AAC will accept interactions as long as the player is aiming close to their target block
    # This is the max angle that AAC will accept (in radians)
    max_angle_diff: 1.0

    # AAC will not check interactions with these materials
    exempt: []

    # interact.vl increases by 1 for each invalid interaction that is detected
    vl:
      mitigate: true
      threshold: %player_ping%
      max: 1.0
      decay: 0.01
konsolas commented 3 years ago

Having dynamic thresholds like this would probably have an unacceptable impact on performance.