Update entity count code with World.a(Class)'s new stuff
Fix issue with chunk caching patch
Guard entity list during ticking