Skip to content

a bunch of magma cubes cause a lot of lag in nether #13

@varencilator

Description

@varencilator

Is your feature request related to a problem? Please describe.
I noticed going to the nether when there are a bunch of magma cubes (the more the laggier, tested by command killing all magma cubes causing them to spawn more smaller ones) lags a lot. Found the issue with Spark profiler mod, see here: https://spark.lucko.me/lBUSzQ6CXY
The slime entity tick rate goes super high and takes up all the CPU usage with slime entity growth logic when there are a lot of magma cubes near relevant blocks in the nether.

Describe the solution you'd like
Perhaps a cap to how many magma cubes can grow at once to reduce tick lag.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions