1.7.8 beta 5: reimplemented entityAddedHook and entityRemovedHook