Skip to content

[Bug] Machine operation speed/ticks incorrect from config #362

@RoarkCats

Description

@RoarkCats

The config allows you to customize the ticksPerOperation of all the mod's machines, however, they all are offset by 1 tick

The default values: 50 ticks or 100 ticks for the reactors actually take 51 ticks and 101 ticks per operation
Even when setting your own value, say 20 ticks, it actually takes 21 ticks for the operation

There must be some small issue in the way in which it's coded giving it that offset or not accounting for it
I noticed this when my farm was producing slightly less than it should've, after extensive testing I narrowed it down to this and wrote a small datapack to help debug the issue, see attached file

Alchemy Output Rate.zip
If you want to use the datapack yourself to test, simply place it in your world's datapacks folder and run /reload in-game
Stand on a constantly running alchemistry machine and run /function aor:new_rate_test, it will monitor the game ticks between (item) outputs
To kill the test entities run /function aor:kill_all or /function aor:kill_nearest

Image Image Image

Versions

Forge: 47.4.0
Minecraft: 1.20.1
Alchemistry: 2.3.4

(tested outside the modpack as well, still occurs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions