You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce [Optional]
Steps to reproduce the behavior:
Have Modular Golems, L2 Library, and Crossroads and Essentials installed.
Spawn a golem from MG.
Mouse over it with any wand that targets a golem or an enemy (Command Wand, Retrieval Wand, etc). The golem or entity will begin glowing.
The glow will not fade, no matter what you do until you log back out or switch dimensions.
Expected behavior [Optional]
Normally, Modular Golems should have the glow fade after a few moments. But with Crossroads installed, the glowing effect persists forever, until entity death or logging out and back in. I'm not sure why this occurs. It appears to be a Crossroads-specific problem as Essentials does not cause this. Since Crossroads from my play with it appears to be a tech mod, I'm not sure why it would interfere with this.
Additional context [Optional]
I've tested this alone with just the four mods involved and in a modpack with about 230 mods. This incorrect behavior is present in both contexts.
I mixin into Entity class to make isCurrentlyGlowing return true for some entities. Did crossroad cache this value somehow? My mixin should return true only when player is pointing at them with a specific item.
@lcy0x1 Crossroads does cache this value.
Ironically, the caching was added specifically to prevent breaking other mods' glowing effect (Crossroads also makes entities glow on the client side under certain circumstances, the thinking was that if both CR and another mod made an entity glow, without caching CR would cancel the other mods' glowing prematurely). I did not account for mixins totally changing how glowing is implemented in entities.
I don't think mods should set glowing flags on client. Instead, using mixins to return true under certain circumstances is more reasonable and compatible than just setting a flag. You can just add a mixin to return true for isGlowing when the entity has the tag you adds.
Describe the bug
This mod and Modular Golems (https://www.curseforge.com/minecraft/mc-mods/modulargolems) appear to have conflicting behavior regarding a glowing effect that MG uses when mousing over one of its golems.
To Reproduce [Optional]
Steps to reproduce the behavior:
Expected behavior [Optional]
Normally, Modular Golems should have the glow fade after a few moments. But with Crossroads installed, the glowing effect persists forever, until entity death or logging out and back in. I'm not sure why this occurs. It appears to be a Crossroads-specific problem as Essentials does not cause this. Since Crossroads from my play with it appears to be a tech mod, I'm not sure why it would interfere with this.
Additional context [Optional]
I've tested this alone with just the four mods involved and in a modpack with about 230 mods. This incorrect behavior is present in both contexts.
Modular Golem's source code is available here, if that helps (https://github.com/Minecraft-LightLand/ModularGolems).
The text was updated successfully, but these errors were encountered: