fabric icon indicating copy to clipboard operation
fabric copied to clipboard

[1.20.4] Alter StartTracking with Before and After Variants

Open Dragon-Seeker opened this issue 10 months ago • 2 comments

The Point of this PR is to have an After Variant for StartTracking as the current implementation calls the StartTracking event before any packets for the Entity's creation making such an event pointless if you need to sync things like data attachment to the Client as such will require some delayed method of handling any packet sent until the entity exists. Evidence of such an event being useful can be found within Cardinal Components and NeoForge.

Additionally, this PR attempts to keep binary compatibility with previous API versions with such old variants extending the renaming of the old event.

Dragon-Seeker avatar Apr 09 '24 22:04 Dragon-Seeker