#Please tell me why the output says that the air is destroyed like in the picture

1 messages · Page 1 of 1 (latest)

daring raft
#

import { world } from "@minecraft/server";
world.afterEvents.blockBreak.subscribe((event) => {
const player = event.player;
const block = event.block;
player.sendMessage(You have broken ${block.typeId});
});

visual current
#

Or

#

const block = event. brokenBlockPermutation

#

if u need it for other stuff too

daring raft
limber crater