Skip to content

BlockOcean.updateTick() (mostly) drops framerate and it's a pain. #110

@kanayaya

Description

@kanayaya

Every replacing fluid consumes up to 90% tick update time, so it's dropping FPS even when you stay still. IMG_20230805_132023_533.png

When method returns doing nothing fps become smooth, except for if you generate new world chunks.

Tried to put it into static threadPool. Got exception :)) so, i think there is no way except for improving method itself , maybe, rejecting 95% of calls? Ocean will spread way slower but performance will rise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions