
[1.20.1] Forge - Artifacts and T.O Magic 'n Extras conflict that causes night vision flickering
Closed this issue ยท 1 comments
Bug description
When using the Forlon Harbinger set from T.O. Magic 'n Extras and the Night Vision Goggles from Artifacts they cause a conflict with each other, causing some pretty nasty night vision flickering and a weird light effect when both are enabled.
Steps to reproduce
Simply install T.O. Magic 'n Extras and artifacts with their requirements needed, equip the Forlon Harbinger set and then put on the Night Vision Goggles and set the game world to night, additionally using the night vision effect on the Forlon Harbinger at the same time as the Night Vision Goggles.
Artifacts version
9.5.14
Mod loader
Forge / NeoForge
Mod loader version
Forge 47.4.0
Accessory mod
Curios API
Accessory mod version
curios-forge-5.12.1+1.20,1
Additional Details
I believe this is being caused by a check on the Forlon Harbinger set doing a check to have night vision always turned off until you hit the key to turn night vision on, and the night vision goggles always keeping the check on is causing a conflict and the flicker.
This will have to be fixed by Magic 'n Extras. The night vision goggles apply a short night vision effect every tick it is active. This isn't at all unusual, the vanilla turtle helmet does this with water breathing as well.
What's likely happening here is that Magic n' Extras removes the night vision effect from the player every tick, when it should only do this when the ability is toggled off. (Magic n' Extras is closed source, so there's no way to know for sure that this is what's causing it without decompiling the mod)