FarmControl icon indicating copy to clipboard operation
FarmControl copied to clipboard

Frog behavior not at all affected by remove-random-movement

Open HorusApl opened this issue 1 year ago • 4 comments

Frogs jump behavior is a very laggy part of their AI for some reason, but is not required for most frog light farms to work.. For some reason, the action, remove-random-movement doesn't attempt to stop them from jumping when I believe that it very much should try too. The action applying to frogs would cut down their lag by about half, I can provide spark reports showing FarmControl is not handling this interaction.

HorusApl avatar Feb 19 '24 19:02 HorusApl

New entities like frogs and goats use the same brain-based AI as villagers, which FarmControl doesn't affect.

I can try looking into whether its possible to do a similar thing for these new mobs - a spark report would actually be useful if you don't mind sharing

froobynooby avatar Feb 20 '24 03:02 froobynooby

I had one handy: https://spark.lucko.me/4C3K3fbQHn specifically their LongJumptoRandomPos seems to be the killer of their AI. If you have the frogs sitting on honey blocks, they don't attempt this behavior at all so the lag is greatly reduced this way, but honey blocks are difficult to enforce players to use in their farms.

On Mon, Feb 19, 2024, 10:12 PM froobynooby @.***> wrote:

New entities like frogs and goats use the same brain-based AI as villagers, which FarmControl doesn't affect.

I can try looking into whether its possible to do a similar thing for these new mobs - a spark report would actually be useful if you don't mind sharing

— Reply to this email directly, view it on GitHub https://github.com/froobynooby/FarmControl/issues/39#issuecomment-1953416423, or unsubscribe https://github.com/notifications/unsubscribe-auth/APK3EC4BBVHDBGWXL42RCCTYUQIAVAVCNFSM6AAAAABDP7KXWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGQYTMNBSGM . You are receiving this because you authored the thread.Message ID: @.***>

HorusApl avatar Feb 20 '24 03:02 HorusApl

Here is another example of 1 frog farm loaded that incorporates honey blocks, so the longjump tick cannot be seen, and thus the performance is drastically different. https://spark.lucko.me/CPOBvMvrkW

On Mon, Feb 19, 2024, 10:20 PM Horus Apl @.***> wrote:

I had one handy: https://spark.lucko.me/4C3K3fbQHn specifically their LongJumptoRandomPos seems to be the killer of their AI. If you have the frogs sitting on honey blocks, they don't attempt this behavior at all so the lag is greatly reduced this way, but honey blocks are difficult to enforce players to use in their farms.

On Mon, Feb 19, 2024, 10:12 PM froobynooby @.***> wrote:

New entities like frogs and goats use the same brain-based AI as villagers, which FarmControl doesn't affect.

I can try looking into whether its possible to do a similar thing for these new mobs - a spark report would actually be useful if you don't mind sharing

— Reply to this email directly, view it on GitHub https://github.com/froobynooby/FarmControl/issues/39#issuecomment-1953416423, or unsubscribe https://github.com/notifications/unsubscribe-auth/APK3EC4BBVHDBGWXL42RCCTYUQIAVAVCNFSM6AAAAABDP7KXWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGQYTMNBSGM . You are receiving this because you authored the thread.Message ID: @.***>

HorusApl avatar Feb 20 '24 03:02 HorusApl

Thanks for sharing those. I think it might be possible to remove those behaviours - I'll have to play around with it on the weekend

froobynooby avatar Feb 20 '24 11:02 froobynooby