Projectilehit
Criteria: ProjectileHit
Triggered when a projectile shot by a player hits a matching entity, block, or other target.
Attributes
| Attribute | Description | Default |
|---|---|---|
| ProjectileType | The projectile entity type to match. Supports comma-separated entity types. | Any |
| HitType | The type of hit to match: ENTITY, BLOCK, or OTHER. Supports comma-separated hit types. |
Any |
| HitEntityType | The hit entity type to match when the projectile hits an entity. Supports comma-separated entity types. | Any |
| HitBlock | The hit block material to match when the projectile hits a block. Supports comma-separated materials. | Any |
Examples
SOME_ACHIEVEMENT:
Criteria:
HIT_SKELETON_WITH_ARROW:
Type: ProjectileHit
ProjectileType: ARROW
HitType: ENTITY
HitEntityType: SKELETON
Amount: 10