#I would like to make a modded block play a sound when activated by redstone.

1 messages · Page 1 of 1 (latest)

last wind
#

I just would like to play a sound when I activate a "vsch:powerful_thruster_block" with redstone.

-I made a resourcepack with a sound
-It works.

Then :
-I can't code so I tried to make a datapack with the help of Chat GPT, but none of my approached failed.
-I tried to recognized the block state, for example I used the command setblock[lit... to place a block in an activated state, but the block always spawns unlit (neither "lit", or "powered" worked)
-I tried to use the NBT tags, but even doing what GPT said several different times to be sure, it failed
-I finally tried to scan the redstone blocks around but it also failed.

Is there a way to do so, or only the developer of the mod can fix it?

eager oar
#

I don't have the time to help you currently, but I will do this

edgy coralBOT
last wind
dry moss
# last wind thank you very much if you can help me! I know AI is not the best way to do so, ...

If you want to learn more modding skills, I'd look at tutorials instead of asking a language model. Here's an example for fabric: https://www.youtube.com/playlist?list=PLKGarocXCE1H_HxOYihQMq0mlpqiUJj4L

last wind
#

Honestly, I would prefer to learn how to fix the missing sound and rely on the existing mod rather than doing it myself from zero, because I'm sure I will do the same thing by far less well done, but thank you for the advice. Plus the thrusters block I'm talking about is from a Valkyrien Skies addon which make everything more complexe for a beginner like me

#

But thank you for the advice 😁

last wind
#

I still need help please guys