Skip to content

Server performance tanks when a few terminators have target acquired #63

@JaylyDev

Description

@JaylyDev

Describe the bug
A clear and concise description of what the bug is.

World TPS starts to drop when a few terminators have target acquired with minecraft:behavior.nearest_attackable_target component.

How To Reproduce (please complete the following information):
Steps to reproduce the bug:

  1. Spawn 15 terminators
  2. Create a target

Expected behavior
A clear and concise description of what you expected to happen.

Less lag.

Content log
If applicable, paste content log text or upload content log file to help developers debug the issue.
Help: How to enable content log
[Example: ```[Type][Error]-Infomation```]

Screenshots
If applicable, add screenshots to help explain your problem.

Addon Metadata (please complete the following information):
Please list version(s) of the add-on that has this bug.
Affected Version(s): [Example: v1.0.0, v1.0.1]

v2.0.0-beta and older versions

Platform (please complete the following information):
Please list Minecraft platform(s) and version(s) that are affected by the issue.
Affected Platform: [Example: iPhone]
Affected Minecraft Version(s): [Example: v1.16.220]

v1.20.80

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions