Skip to content

Set Sound Volume

Use Set Sound Volume with the ordered inputs below.

Set Variable → Operations → Choose Operation → Sound. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
Result Sound Variable binding Required Required
Sound Sound Value Required Required
Volume Number Value Required Required

Stores the result in the first configured destination Variable. Its type must match the result and any generic element/key types.

Block: Set Variable → Operations
Operation: Set Sound Volume
Result: Private Sound result
Sound: Sound: minecraft:block.note_block.pling, volume 1, pitch 1
Volume: 1

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

Runtime validation: Pitch must be greater than zero.

Reference identifier: sound.set_volume.