For example simply run
/function me:_phantom
in the chat bar to mute/unmute all sounds from phantoms for all players.
Start typing /function me:
in the chat bar to see all added functions.
/function me:_(mob)
mutes/unmutes the given mob
/function me:.query
lists all currently muted mobs.
/function me:.mute_all
mutes all mobs.
/function me:.unmute_all
unmutes all mobs.
/function me:.help
provides help text.
/function me:.set_refresh_rate {x:?}
sets the datapacks refresh rate to 1 in every ? ticks, defaults to 1 in 40, must be a whole number greater than 0.
Note that mobs will still make a noise when being spawned in by the player using a spawn egg.
Supports Multiplayer.
Made for Java 1.21.7.
Details
Licensed MIT
Published 2 months ago
Updated 2 months ago