Sound
A configured sound effect with volume/pitch settings.
Declaration
Section titled “Declaration”Choose the type in a Variable/parameter/field type picker. Use the nullable flag only when absence is part of the intended model.
Example
Section titled “Example”minecraft:block.note_block.plingConfigure it through its value editor, then copy it into sound inputs. Get/set sound operations transform its properties.
Compatibility
Section titled “Compatibility”Required inputs must be assigned and type-compatible. Nullable values require compatible nullable inputs or coalescing. Collection declarations remain invariant; native Targets and custom classes follow their supported inheritance rules. Final controls a binding, not deep immutability.
Variables · Arguments · Collections · Classes · Expressions