#Bow Hit Detection
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
// here can you see more: "https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/projectilehitentityafterevent?view=minecraft-bedrock-stable"
world.afterEvents.projectileHitEntity.subscribe((data) => {
const entityShot = data.source
const entityHit = data.getEntityHit()
})