Added other_invs when you interact with other inventories that you have selected they will play the sound you want.
Active is added: You can turn something on or off if you don't like using it. with active: true/false
Code (YAML):
###############################
# #
# OTHER INVENTORIES #
# #
###############################
# This section allows defining specific sounds for different
# types of inventories, such as chests, furnaces, etc.
# BLOCKS: ANVIL, FURNACE, DISPENSER, DROPPER, HOPPER, SHULKER_BOX, BEACON.
# Etc, more at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/inventory/InventoryType.html
other_invs:
active
: true
anvil:
block
:
"ANVIL"
sound
:
"ENTITY_EXPERIENCE_ORB_PICKUP"
volume
: 1.0
pitch
: 1.0
furnace:
block
:
"FURNACE"
sound
:
"ENTITY_EXPERIENCE_ORB_PICKUP"
volume
: 1.0
pitch
: 1.0