[Enhancement] Mob Sunscreen behavior but performant #486
Closed
NoMoreUsernames999
started this conversation in
Tweak Suggestions
Replies: 1 comment
-
Implemented in eed1eab. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I recently discovered that the mod Mob Sunscreen is terrible for performance, as it checks every mob every tick. It also doesn't properly implement its feature, since mobs stepping into half blocks like PVJ leaf piles will still catch fire.
So my suggestion is to incorporate a proper mob sunscreen function into UT. Here is the conversation where someone suggested a mixin for just disabling zombies:
And here is the class from a modern alternative to Mob Sunscreen which disables burning for everything (not sure how applicable it is to 1.12 code):
https://github.com/muhammedesadcomert/Protect-Mobs-From-DayLight/blob/multiloader-1.19%2B/common/src/main/java/com/muhammedesadcomert/protectmobsfromdaylight/common/mixin/MobMixin.java
However you plan to implement this, If you plan to do so, all I really want is to just disable mob burning completely without murdering my TPS. If there is a way to selectively do it that's still performant, I guess that would be useful for other people too?
Beta Was this translation helpful? Give feedback.
All reactions