Lots of tile entities

hello so my lag is caused by tile entities how do i fix that ? https://timings.aikar.co/?id=ca62ede8f7054ae995cd421c087f413c

So TileEntities exist for every block that needs to store some information. Chests, anything with an inventory, etc.

There is a full list on the Minecraft wiki.
I would recommend trimming down on stuff like that. If you have multiple worlds, you could try to temporarily remove one and see if one world is causing most of the lag