Is it possible to summon lightning with no thunder?

Started by Waffi on Fri, 11/25/2022 - 18:50

Topic category: Help with modding (Java Edition)

Last seen on 00:00, 30. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is it possible to summon lightning with no thunder?
Fri, 11/25/2022 - 18:50

Hello! I have a weapon that summons lightning on right click, that's all fine and dandy and all but I was wondering if it's possible to have just the lightning spawn without thunder. Is this just a Minecraft thing that I can't do anything about or is this possible to do, and if possible how would I go about doing this? I'm trying to add my own sound effect is why. Any help would be greatly appreciated!

Last seen on 03:11, 29. Nov 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm unsure if there is a way…
Sat, 11/26/2022 - 21:24

I'm unsure if there is a way to do this outside of using code to do it, which I'm not versed in to explain how to do that. However, the thunder sound is tied with the lightning sound and so Minecraft does automatically play the sound when lightning strikes regardless of the circumstances.

 

I am well aware of why you would want this though as it is a bit annoying if someone is using the tool/weapon thousands of blocks away and you can still hear it.

Last seen on 00:00, 30. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have no idea how to code…
Sun, 11/27/2022 - 17:54

I have no idea how to code so that's a shame. Thanks for responding though!