Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] BlockPhysicsEvent cause lag #11

Open
Haronken opened this issue Sep 19, 2020 · 4 comments
Open

[BUG] BlockPhysicsEvent cause lag #11

Haronken opened this issue Sep 19, 2020 · 4 comments
Labels

Comments

@Haronken
Copy link

Version: 1.16.3
PTG Version: 2.0.5
Timings: https://timings.aikar.co/?id=6dfeba86c1bf4f0396f933b8e03937b6#timings

@Haronken Haronken added the bug label Sep 19, 2020
@XZot1K
Copy link
Owner

XZot1K commented Sep 19, 2020

Version: 1.16.3
PTG Version: 2.0.5
Timings: https://timings.aikar.co/?id=6dfeba86c1bf4f0396f933b8e03937b6#timings

It actually looks pretty good, for as much as that event is ran 1.4% is very low impact especially when comparing it to nether chunk syncing and a few other plugins shown in your timings. The plugin is pretty modular as well, so if you believe the block physics to be an issue, then you can disable that particular feature in the config.yml!
Capture

@XZot1K
Copy link
Owner

XZot1K commented Sep 19, 2020

In addition to that, the block physics event is referring to the entities created in order to create the blocks flying in the air illusion. This is a very minimal feature, so if you can go without the aesthetic then it will help a ton!

@Haronken
Copy link
Author

Ekran Alıntısı
look at data in the last part

@XZot1K
Copy link
Owner

XZot1K commented Sep 20, 2020

Ekran Alıntısı
look at data in the last part

Interesting looks like a spike. Now that event can be fully passed by disabling the "cancel-fall-radius". That particular event is used to keep blocks like sand in check frozen in place until the plugin can fix blocks to prevent deformed regeneration due to sand physics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants