[Enter feedback here]
In the playerBreakBlock event, the content obtained from event.block.typeId represents the block after destruction, which is usually air. However, I wish to obtain the ID of the block that was actually destroyed, such as dirt.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 03ba6239-bea0-d390-3969-a6c6d700aa30
Version Independent ID: 03ba6239-bea0-d390-3969-a6c6d700aa30
[Enter feedback here] In the playerBreakBlock event, the content obtained from event.block.typeId represents the block after destruction, which is usually air. However, I wish to obtain the ID of the block that was actually destroyed, such as dirt.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.