Mojira Archive
MC-215650

Players are able to locate other players with the lightning/thunder sound

The bug

Players can locate other players locations when lightning strikes. 

From my knowledge, they either use a hacked client which exploits this bug, or have another alt nearby. What these alts do is use two different directional sounds to pinpoint the location of a player. This has been a big issue as hackers have been able to find (and grief) bases up to 160,000 blocks away.

This can be reproduced by having two clients in a multiplayer world, teleporting one client up to 160,000 blocks away and summoning lightning. You're able to hear it on both clients. 

I submitted a similar report about a year ago (MC-178435) and was told that the range of the lightning sound was 400 blocks away, by a moderator. But this is untrue as seen in the footage below. 

In this footage, it shows that one client is able to hear the lightning strike up to 160,000 blocks away. I hope this can be resolved soon. Thanks in advance.
Lightning Bug Mojang Report.mp4

Reproduction steps

  1. Mark chunk (0, 0) as forced loaded
    /forceload add 0 0
    
  2. Teleport far away (< 160,000)
    /teleport ~ ~ 159000
    
  3. Activate subtitles
  4. Summon a lightning bolt at (0, 0)
    /summon minecraft:lightning_bolt 0 ~ 0
    

    The subtitle "Thunder roars" is shown

Code analysis

Based on 21w06a, Mojang names

net.minecraft.world.entity.LightningBolt.tick() creates the thunder sounds with a range of 10,000 chunks (160,000 blocks).

Fixed

Sonny Johnson

[Mojang] slicedlime

2021-02-15, 08:03 PM

2021-03-24, 06:53 PM

2021-03-24, 06:53 PM

0

4

Confirmed

Important

Networking

1.16.5, 21w07a

21w13a