YouHaveTrouble / minecraft-optimization

Minecraft server optimization guide
1.95k stars 88 forks source link

Add wet-farmland #112

Open Pantera07 opened 7 months ago

Pantera07 commented 7 months ago

https://github.com/PaperMC/Paper/pull/9968

There are two options: dry-farmland and wet-farmland, the reason it is separate is because the performance impact of dry farmlands isn't that big, but has a big gameplay impact where players may be confused about why the farmland isn't wet after placing water near it. Yes, dry farmlands have the same isNearWater checks as wet farmlands, but dry farmlands do end up turning to regular dirt after a while, so it is like they are "naturally" throttled by the server.

YouHaveTrouble commented 7 months ago

I'm not sure if this is relevant. I haven't seen any spark reports or timings suggesting that farmland updates is something that has major impact on tps. Would appreciate such reports to illustrate the issue

Pantera07 commented 7 months ago

Large farms may cause lag. farmland searches for nearby blocks every tick.

YouHaveTrouble commented 7 months ago

Which in my minecraft optimization career I've seen exactly 0 times. If you're able to provide a spark from a server with the situation where farmland causes tps issues, I'll merge this