PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
49 stars 21 forks source link

[CustomBlock] Custom Digging Sound #1732

Closed ArtifactyNight closed 2 years ago

ArtifactyNight commented 2 years ago

Terms

Discord tag (optional)

NightKunGz 🌒#0790

Describe the solution you'd like

Option to add custom digging sound when digging custom blocks similar Origin Realms server Example Videos:

https://user-images.githubusercontent.com/53427253/170674697-be6ba4ae-0135-44b7-8dc0-ac919599ba12.mp4

Is your feature request related to a problem?

I want to make custom block is more realistic like vanilla block in minecraft

Describe alternatives you've considered

I think Origin Realms server is remove noteblock's original digging sound in resourcepack and add simulate sound to original noteblock and other block that use same digging sound as noteblock?

and add potion effect slow digging for 255 and bypass arm swing animation with NMS then play block cracking effect and play custom digging sound to make it look like mining progress (I know that because my ping latency is 200+ in Origin Realms, if I digging custom block and stop it while block is not break yet, it's will have some delay)

if block is cracking i think they use some method like #breakNaturally(boolean) in Paper API

I'm not sure my opinion is correctly if it's can do, i think it's will improve custom block feature about custom digging sound

Additional context

No response

LoneDev6 commented 2 years ago

If I recall I already did some tests in the past because I had the same idea, the issue is that I'd have to replace the wood sound with a blank sound which would require me to simulate the wood sound each time the server tries to play it, to avoid playing an empty sound.

I don't know if this is a really good solution sincerely.

LoneDev6 commented 2 years ago

Duplicate https://github.com/PluginBugs/Issues-ItemsAdder/issues/1260