Перейти к основному содержанию

Callback.ProjectileHitTarget

Object containing hit coordinates and information about hit entity/block.

Index

Properties

Properties

coords

Coordinates and side of the hit block or null if an entity was hit.

entity

entity: number

If an entity was hit, entity unique ID, -1 otherwise.

x

x: number

Exact hit position x.

y

y: number

Exact hit position y.

z

z: number

Exact hit position z.