Making a block make sound only if powered by redstone. (Meant to be Help with modding (Java Edition))

Started by ASamInTheWild2011 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 11:36, 16. Jun 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making a block make sound only if powered by redstone. (Meant to be Help with modding (Java Edition))
Sun, 06/16/2024 - 11:37 (edited)

Is it possible to make a block that makes a sound when it's powered by redstone, but immediately stops emitting sound when the redstone is turned off? (Similar to how a jukebox plays a disc until the disc is taken out, to which it then stops until another disc is put in.) If so, how can this be done?

Edited by ASamInTheWild2011 on Sun, 06/16/2024 - 11:37