#Bow Hit Detection

1 messages · Page 1 of 1 (latest)

stuck sluice
#
// 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()
})
stuck sluice
#

wait lemme check

#
world.afterEvents.projectileHitEntity.subscribe((data) => {
    const entityShot = data.source
    const entityHit = data.getEntityHit().entity
})
#

Anything else?