Detecting when player hits a wall whilst in bait
👋 hi ! I am not new to datapack s, however, I am still far from knowing everything.
The thing that I am trying to do here is that whenever a player is
- On a certain block
- In a boat
- Going over a certain speed
- And suddenly collides with a block
- But then regains speed (Basically a wall tap) Grants an advancement
I think I could manage to get it working with a lot of block checks a speed scoreboard and an entity check, But I would like to know what would be the most optimized solution for detecting collisions, or : -> Speed detection -> **Block (hit) detection And I think I can figure out the rest myself I am trying to grant an advancement, so maybe any advancement detection criteria could help ?
Tysm if you take the time to answer !