itsmeow / betteranimalsplus

A mod adding new animals to Minecraft
https://betteranimalsplus.com/
Other
110 stars 37 forks source link

Wild Boars overpopulating and lagging the server. #349

Open Wilevar opened 2 years ago

Wilevar commented 2 years ago

Describe the bug

On a Fabric server I've been playing on alone to test recently updated mods, I lived near a spruce forest with lots of berry bushes. The wild boars in the area were breeding and multiplying out of control, and started lagging the server. Doing a kill command and vacuuming up all the drops, there were more than a full inventory of stacks of pork. The server lag also cleared up immediately once they were killed, so I'll have to disable their spawning for now.

To Reproduce

Steps to reproduce the behavior:

  1. Play for a while in an are boars can reproduce in the wild without killing them. Took about 3 real-world days of playing for a few hours a day, so between 8 and 12 hours before they got so numerous that they lagged the server.

Log output/error (if present)

latest.log In case it's possible one of the other mods is somehow enabling them to breed like this.

Expected behavior

Some limiting factor on local population per chunk.

Versions

Wilevar commented 2 years ago

I disabled their breeding settings under the "Nerf Settings" section, so hopefully that'll help. But I suggest a breeding check for nearby boar population for wild breeding.

Klosw commented 1 year ago

I also encountered the situation of wild boars. What about the countless wild boars on the map 我也遇到了 全是野猪的情况了 地图上无数的野猪 怎么办