Nukkit-coders / MobPlugin

Add animals and monsters including AI, spawning and spawners to Cloudburst Nukkit
https://nukkitx.com/resources/mobplugin.3/
87 stars 51 forks source link

Livestock Despawns When penned and Surrounded #256

Open serengon4k opened 2 years ago

serengon4k commented 2 years ago

Info

This is:

Your issue / suggestion

The livestock despawns even around other livestock and penned.

Configuration

Link to debugpaste:

<!-- Run debugpaste command and put the link here -->

Config:

<!-- Put your config.yml contents here  -->
PetteriM1 commented 2 years ago

Mob despawning is currently only based on their age. The time can be changed in config by editing despawn-ticks value.

serengon4k commented 2 years ago

Oh, I see. well you wouldn't mind if I custom coded my local version of the code in some clauses for farm mobs not to despawn if they are around other farm mobs? Just to save the players on my server.

silas0526 commented 2 years ago

Close issue. You can go plugins, MobPlugin, sudo nano config.yml and you can change despawn tick to 0

silas0526 commented 2 years ago

This will fix

silas0526 commented 2 years ago

PetteriM1 said that on another similar issue i made