Cooking_Composter: type: world events: on player right clicks composter: - foreach as:compost_level: - if && <[compost_level]> <= 7: - determine passively cancelled - take iteminhand quantity:1 - playsound sound:block_composter_fill at: sound_category:blocks - if : - adjustblock level:<[compost_level].add[1]> - playeffect effect:COMPOSTER_FILL_ATTEMPT at: - playsound sound:BLOCK_COMPOSTER_FILL_SUCCESS at: sound_category:blocks - if && <[compost_level]> <= 7: - determine passively cancelled - take iteminhand quantity:1 - playsound sound:block_composter_fill at: sound_category:blocks - if : - adjustblock level:<[compost_level].add[1]> - playeffect effect:COMPOSTER_FILL_ATTEMPT at: - playsound sound:BLOCK_COMPOSTER_FILL_SUCCESS at: sound_category:blocks