pWn3d1337 / Techguns

Techguns mod for minecraft
https://minecraft.curseforge.com/projects/techguns
16 stars 4 forks source link

Request: Turret Line of Sight #202

Closed Golrith closed 6 years ago

Golrith commented 6 years ago

Turrets are quite happy firing away at mobs in caves or behind hills. Is there any way to give them line of sight so they are not wasting time firing away at blind spots?

pWn3d1337 commented 6 years ago

They do check line of sight, it's minecraft mob AI.

Golrith commented 6 years ago

Unfortunately it's not working, as they are trying to shoot mobs they cannot see. But, now you've mentioned it's Minecraft Mob AI, let me do some experiments, I had a couple of mods that change the mob AI which allows mobs to "see" through blocks within a radius, it might be they are inadvertently being affected too.

pWn3d1337 commented 6 years ago

Techguns turrets are NPCs and are based on mojangs mob AI.

Golrith commented 6 years ago

Confirmed, it was an issue of another mod changing AI. I adjusted settings, and now turrets cannot see mobs behind blocks.

Great mod BTW, loving the models & effects.