-
Notifications
You must be signed in to change notification settings - Fork 431
Open
Labels
bugFixes or discusses a bug within the mappingsFixes or discusses a bug within the mappings
Description
Entity has both velocityDirty (field_6007) and velocityModified (field_6037), which both mean the same thing as names.
velocityDirty is used for generic velocity updates and larger general updates to entity data (see EntityTrackerEntry), so its name is most likely correct.
The other field, velocityModified, is only set to true whenever entities are damaged (scheduleVelocityUpdate and also all direct field writes), and it's used in those cases to send a velocity update packet. It should be renamed to knockedBack or something similar - it's only updating the velocity on damage, which sounds like a "knocked back from damage" flag.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugFixes or discusses a bug within the mappingsFixes or discusses a bug within the mappings