Result Extension | Sound - WolfyScript/CustomCrafting GitHub Wiki

Play sound on completion of the craft.

{
    "key" : "customcrafting:sound",
    "outer_radius" : [ 0.0, 0.0, 0.0 ],
    "inner_radius" : [ 0.0, 0.0, 0.0 ],
    "sound" : "BLOCK_ANVIL_USE",
    "volume" : 1.0,
    "pitch" : 1.0,
    "soundCategory" : "BLOCKS",
    "forPlayer" : false,
    "nearPlayer" : false,
    "nearWorkstation" : false,
    "onBlock" : true
}

outer/inner_radius: Configure the area where to look for players to play the sound for. sound: The Sound to play. volume: The volume of the sound. pitch: The pitch of the sound. soundCategory: In which category the sound belongs. forPlayer: Plays the sound for the player that caused the execution. nearPlayer: Plays the sound for all players in the area around the player that caused the execution. nearWorkstation: Plays the sound for all players in the area around the workstation (furnace, etc.) that caused the execution. onBlock: Plays the sound on the actual block.