Better Animals Plus

Better Animals Plus

22M Downloads

Block Scans loading chunks

Raycoms opened this issue ยท 2 comments

commented

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new server
  2. Have a few people online
  3. Spark Profiler

Log output/error (if present)

Get your minecraft log and paste it here.

Expected behavior

Entities not loading chunks

Versions

  • Minecraft Version: 1.18.1
  • Platform (Forge/Fabric): Forge

Additional context

Basically, many of the entities do block scans to find a good positions. This might, when close to chunk borders, cause strong server lag spikes (Because it then might load a chunk).

It would make to check if the chunk is loaded first, before accessing it.

commented

Thanks for reporting this! I will include checks for this.