Theguyhere0 / villager-defense-minigame

A Minecraft plugin that adds a fun, customizable minigame where players defend villagers against waves of monsters
GNU General Public License v3.0
7 stars 4 forks source link

About mobs activation/follow range #182

Open dentatar opened 7 months ago

dentatar commented 7 months ago

Hello. If monster portals are 32 (or is it 48?) block away from player or villagers they are staying still for a while and just chilling until eventually roam in the range. Is this normal behavior and not a bug? I think those ranges should be increased by default… Can i fix this by just editing those values in spigot.yml? Thanks!

dentatar commented 7 months ago

Also mobs besides zombies and pillagers aren't targeting villagers at all 🤔

Theguyhere0 commented 6 months ago

Hey there! For the first part, I'll take a look into it as there is a limit to the target range. I'll see about if that can be configurable. For the second part, that has happened in the past but I thought I had fixed it. Can you send me the versions you are using for the plugin, spigot/paper, and OS?

dentatar commented 6 months ago

For the first part i guess the limitation is vanilla follow range range. I think this could be fixed by modifying entity follow range on spawn and cranking it to high values.

Sorry forgot about the versions: Villager Defense - 1.2.10 Paper - 1.20.2 build 318 OS - Linux

dentatar commented 1 month ago

Tested again on 1.20.4, mobs are just chillin when they 35+ blocks away, even if i set activation range much higher to 128… I think the issue is vanilla follow range attribute 🤔 Targeting priority seems to work if i trigger mobs once 2024-08-28_23 22 17 (He stand there indefinitely, until eventually roam in range, or i get closer)