Most blocks and mobs use sound events.
When using Shears to carve a normal Pumpkin, you will notice that the sound event block.pumpkin.carve doesn't play. However, you can play this sound event by using the following command:
- Either find or place a normal Pumpkin.
- Make sure you are holding Shears in order to carve a normal Pumpkin by right-clicking on it.
→ You will notice that it doesn't play the block.pumpkin.carve sound event.