setCategory

fun setCategory(category: String): Sound

Sets the category of this sound, making it respect the Player's sound volume sliders. Options are: master, music, record, weather, block, hostile, neutral, player, and ambient

Parameters

category

the category

Sources

Link copied to clipboard