What is the sound packet for Lightning? #1764
Replies: 2 comments 8 replies
-
The game handles lightning as an entity (similar to a mob or experience orb). This entity ticks on both the client and server. See: I am not sure what you are are trying to achieve. But I guess the packet you want is the |
Beta Was this translation helpful? Give feedback.
-
What version of Minecraft are you using? When I try that on 1.17.1, I can't hear the lightning strike. The link you posted is quite old. Its change log only goes up to 1.12 |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to listen to when a lightning sound packet is received by the client. Currently, I am doing this by reflecting the
Channel
fromMinecraftClient.getInstance().getNetworkHandler()
and then inserting my own channel duplex handler in the player's channel pipeline. I am listening forPlaySoundS2CPacket
s but I am not receiving this packet when I hear lightning in game.Beta Was this translation helpful? Give feedback.
All reactions