TLDR, is there a way to check when raven fly ( As it create another entity ), so other mods can see the creation ?
So basically I ( with a lot of help ) created a mod that add fuel every tick to a vehicle created by a player, so when I first place the raven my mod works adding fuel to it, but when it starts flying, my mods stops adding fuel to the raven. I've some debug options to print to chat when a vehicle is registered and unregistered, when I put the raven it registers normally, and when I mine it it unregisters with the same ID, but after raven fly and I mine it, it shows another unregistered ID, and that's why my mod don't work with Raven.
During takeoff and landing, a new vehicle is created. The data of the current vehicle is copied to it, after which the old vehicle is deleted.
You can see all this in detail yourself by unpacking the mod.