ev_wool_spores: type: world events: on player right clicks block with:it_wool_spores: - determine passively cancelled - if in : - playsound sound:ITEM_NETHER_WART_PLANT volume:5 - flag server wool_spore_appetite: - take slot: - run ev_burn_wool def: ev_burn_wool: type: task definitions: location script: - modifyblock <[location]> black_wool - playsound <[location]> sound:block_composter_fill volume:0.25 - wait - if not <[location].center.exists>: - determine cancelled - foreach <[location].center.find_blocks[].within[1.74]> as:spread_location: - if : - flag server wool_spore_appetite: - run ev_burn_wool def:<[spread_location]> - playeffect effect:smoke at:<[location].center> quantity:100 offset:0.25 - wait - playeffect effect:block_dust at:<[location].center> special_data:<[location].material> quantity:25 offset:0.25 - playeffect effect:smoke_large at:<[location].center> quantity:10 offset:0.3 - modifyblock <[location]> air - playsound <[location]> sound:block_composter_ready volume:0.25 pitch:2 - blockcrack <[location]> progress:0