#(drjoenh) stop_sound feature request

26 messages · Page 1 of 1 (latest)

vague heart
burnt glenBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

empty shell
#

!m stop_sound

gentle summitBOT
# empty shell !m stop_sound

Stops all sounds of the specified type for the player.
Valid types are AMBIENT, BLOCKS, HOSTILE, MASTER, MUSIC, NEUTRAL, PLAYERS, RECORDS, VOICE, and WEATHER
Instead of a type, you can specify a full sound key, which usually has the 'minecraft:' prefix.
If no sound type is specified, all types will be stopped.

Object

PlayerTag

Input

ElementTag

empty shell
#

Instead of a type, you can specify a full sound key, which usually has the 'minecraft:' prefix.

#

Cant you do that already?

vague heart
#

nah

#

you would need to map Sounds enum to minecrafts keys

#

eg. AMBIENT_BASALT_DELTAS_ADDITIONS -> minecraft:ambient.basalt_deltas.additions

dim crow
#

No, the stop sound uses nms and not spigot api to stop the sound, so you would use the minecraft key directly and not the enum

#

Oh wait nvm i just reread your request PE_PandaFacepalm

tardy yarrowBOT
#
Changed to Feature

Thread is now a Feature thread. This indicates a request for a new feature to the plugin, that both (A) does not already exist and (B) reasonably can be added. If you are unsure whether this applies, use </helpthread:1028674284870180883> to change back to a normal help thread.

vague heart
#

is there even a reason why do we use nms instead of spigots api?

#

ohh i see why

vague heart
#

well

vague heart
#

not supported on older versions

empty shell
#

I think there was another reason we didnt use spigot

#

and went to nms

vague heart
#

although we now use it for SoundCategory so I assume its fine for Sound as well

empty shell
#

ah ye #denizen-pre-forum message

#

spigotapi is/used to be broke

vague heart
#

my testing ended up just fine, will wait what aya/mcmonkey has to say

violet canopy
#

per #denizen-contrib message spigot is gonna replace that anyway