Turrets don't attack players on 1.16.5
AlexiyOrlov opened this issue ยท 6 comments
No, turns out it was a silly mistake in the code that caused inability to set turrets to target players. Fixed
Pretty sure the forge registry for this is at fault, for the lambda you are using is more than likely filtering out player entities.
I recommend just manually shoving players in after you've pulled that data, because you already expose a separate control for "targeting alien players" anyway, so really, people using turrets should not be expected to add minecraft:players to the list.
It should also be safe to just add the EntityType of player to that list by default anyway, since no mods ever change that id.
I highly suggest reopening this issue and taking another look, as it is still definitely not fixed, no matter my testing.
I also suggest your testing include running a dedicated server (not opening to LAN) and use an alternate account.