User Tools

Site Tools


actions:action_types:play_sound

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

actions:action_types:play_sound [2024/05/02 16:11] – created errorcraftactions:action_types:play_sound [2024/05/14 21:52] (current) – fix range links errorcraft
Line 10: Line 10:
 | ''sound'' | The sound event to play. | A [[mc>Sounds.json#Sound_events|sound event]] | | | ''sound'' | The sound event to play. | A [[mc>Sounds.json#Sound_events|sound event]] | |
 | ''category'' | The category to play the sound in. | A [[mc>Sound#Categories|sound category]] | | | ''category'' | The category to play the sound in. | A [[mc>Sound#Categories|sound category]] | |
-| ''volume'' | The volume to use for the sound. The actual volume is picked randomly between the minimum and maximum. | A [[extras:ranges#float|float range]] | | +| ''volume'' | The volume to use for the sound. The actual volume is picked randomly between the minimum and maximum. | A [[extras:ranges|float range]] | | 
-| ''pitch'' | The pitch to use for the sound. The actual pitch is picked randomly between the minimum and maximum. | A [[extras:ranges#float|float range]] | |+| ''pitch'' | The pitch to use for the sound. The actual pitch is picked randomly between the minimum and maximum. | A [[extras:ranges|float range]] | |
 | ''from_entity'' | Whether to play the sound event from ''this'' player, rather than the position. | An optional boolean | ''false'' | | ''from_entity'' | Whether to play the sound event from ''this'' player, rather than the position. | An optional boolean | ''false'' |
  
actions/action_types/play_sound.1714666285.txt.gz · Last modified: 2024/05/02 16:11 by errorcraft