LogicUsing Events
Projectile Land
Triggers when a projectile lands on a block or hits an entity.
This event is a more general version of Entity Projectile Hit. It fires when a projectile's flight ends, either by hitting an entity or a block.
Action Values
Projectile: The projectile itself.Shooter: The entity that fired the projectile.Hit Entity (Optional): The entity that was hit, if any.Hit Block (Optional): The block that was hit, if any.Location: The point of impact.
Event Configuration
- Projectile Type: Filter by the type of projectile.
Use Cases
- Creating a "teleport arrow" that moves the player to the arrow's landing spot.
- Spawning an explosion where a snowball lands.
- Creating a special effect at the point of impact.
Example: A Teleport Arrow
- Event:
Projectile Land. - Configuration: Set Projectile Type to
ARROW. - Actions:
Conditional: Check if theShooteris aPlayer.- If Actions:
Teleport: Target theShooterand teleport them to theLocationof the event.Kill: Target theProjectileto remove the arrow from the world.