test: type: world debug: true events: on player right clicks block: - ratelimit 0.1s - if == && && not : - animate animation:ARM_SWING - playsound sound: sound_category:BLOCKS - modifyblock - adjustblock instrument:BASS_DRUM - adjustblock note:2 - adjustblock powered:false - adjustblock block_sound_data: - flag item: - flag placed_by_player:true - if != CREATIVE: - inventory adjust d: slot: quantity: - if == && : - animate animation:ARM_SWING_OFFHAND - playsound sound: sound_category:BLOCKS - modifyblock - adjustblock instrument:BASS_DRUM - adjustblock note:2 - adjustblock powered:false - flag item: - if != CREATIVE: - inventory adjust d: slot:41 quantity: on player breaks block: - flag placed_by_player:! - if : - modifyblock - playsound sound: sound_category:BLOCKS - flag item:! - determine cancelled on player stops damaging block: - flag damaging_block:! on player left clicks note_block: - narrate - determine passively cancelled - narrate AAA - flag damaging_block - while != && : - playsound sound:BLOCK_METAL_HIT - wait 0.2 - if : - narrate AAA test_block: type: item debug: false material: paper mechanisms: custom_model_data: 1008 flags: block: base_block: sounds: place: BLOCK_METAL_PLACE break: BLOCK_METAL_BREAK hit: BLOCK_METAL_HIT step: BLOCK_METAL_STEP fall: BLOCK_METAL_FALL