DrexHD / AntiXray

Lightweight fabric mod that allows server owners to combat xrayers
MIT License
36 stars 7 forks source link

Feature Request: Line of Sight #16

Open supsm opened 2 years ago

supsm commented 2 years ago

Could we have a config option that checks are hidden based on line of sight instead of if they are surrounded by air? It would make for a more accurate detection, at the cost of performance. Here are some scenarios where it would be better:

Simple Anti-Xray uses this method, and it has been fine in my previous server without causing a significant amount of lag.

Splarkszter commented 1 year ago

Torches cause lag?

I do have a lag sensitive server that i will be using with friends. It really was this mod the issue about torches??

(I noticed this is 1 year old... so i don't know if that performance issue persists)

DrexHD commented 1 year ago

If you run this mod with the default config, it won't cause any noticeable performance decrease.

supsm commented 1 year ago

Torches cause rendering lag when there are a ton of them, which would be the case if torches are added to the list (as it would be replacing a lot of stone with torches). The default config does not have this, so unless you explicitly changed the config to include torches, it shouldn't be an issue.

NetheriteBowl commented 1 year ago

It has to be recognised that Simple Anti X-Ray 's approach is rarely lagging