ModificationStation / StationAPI

A general use API for Fabric Loader mods on legacy Minecraft versions.
86 stars 20 forks source link

Data-Tracker not working #76

Closed kozibrodka closed 3 days ago

kozibrodka commented 1 year ago

Data-tracker seems not to work for entitybase (not living) entities

https://www.youtube.com/watch?v=1K4Iik_uLlU

mineLdiver commented 3 days ago

Only LivingEntitySpawnS2CPacket synchronizes DataTracker on spawn, and EntityTrackerUpdateS2CPacket is only sent if the DataTracker values are changed server-side, so the behavior in the video is vanilla.

This should be pretty easy to add as a feature to StAPI though, since custom spawn packets and tracking parameters are already a thing.

DanyGames2014 commented 3 days ago

Please do, I also spent way too long trying to figure out why my Entity is not getting synced in Multiplayer

mineLdiver commented 3 days ago

Fixed with c78875041c85e66c04ad5caa11359ad665342559