You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Increased performance by deprecating all player-specific versions of entity callbacks, halving the number of times many functions are called.
Callbacks that previously only passed Entity now pass EntityPlayer if possible.
Changes are backwards compatible with pre-existing mods, keeping their original functionality. Player callbacks are automatically replaced on run start to use the respective shared entity callback, optional parameter is automatically modified to include type = EntityType.ENTITY_PLAYER.