Skip to main content
The BetterHud Look Audience shows a popup when the player looks at a specific target position.

Configuration

popupId
String
required
The BetterHud popup ID to display.
target
Location
required
The position the player must look at.
playerRadius
Double
default:"5.0"
Maximum distance between the player and the target position for the popup to trigger.
viewRadius
Double
default:"2.0"
Acceptable radius around the target position (tolerance) for the look angle.
requireLineOfSight
Boolean
default:"true"
Require a clear line of sight (no blocks) to the position.
text
String
Text to pass to the popup as the text variable.
customVariables
Map<String, String>
Additional variables to pass to the popup.
audience:
  type: betterhud_look_audience
  popupId: "look_hint"
  target: 
    x: 100
    y: 70
    z: 100
    world: "world"
  text: "Press F to Inspect"