mojira.dev
MC-84404

Spiders, endermen, and phantoms don't use team color for glowing

I added all the night time mobs (Zombies, Skeletons, Creepers, Spiders, and Enderman) to a team I named red. I set the team color to red as well. Then I gave every entity on the red team a glowing effect and it work on everything except the Spider and the Enderman.

What I expected to happen was...:
Every mob listed above would be highlighted in red.

What actually happened was...:
The Zombies, Creepers, and Skeletons where all highlighted in red but the Spiders and Endermen wheren't.

Steps to Reproduce:
1. Create a redstone clock
2. Create a scoreboard team and set the color to red
3. Have the clock activate command blocks that add every entity (@e[type=zombie,skeleton,creeper,spider,endermen] (All in Separate Command Blocks)) to the created team above
3. Add command block activated by clock that has the command "/effect give @e[team=red] minecraft:glowing 1" in it
4. Spawn Spider and Enderman and their glow will just be white

Linked issues

Attachments

Comments 13

got this bug in 1.11.2 and 17w17a
with windows 8.1 and Java 8

Experiencing this problem in 1.12.1 Vanilla Minecraft on Mac OS 10.9.5

Java 1.8.0_74 64bit

Probably caused by the invisible overlay layer used for the eyes.

3 more comments

Confirmed for 1.13.2

I was able to fix this for spiders in a forge 1.12 mod by using reflection to remove the spider eye render layer from the spider renderer's render layer list.  Doing so also fixed MC-69696.

Update: after replacing the spider eye layer with a custom version, I've come to the conclusion that the team-colored glow is rendering just fine...however an additional white glow layer is being rendered on top of it during the spider eye layer render.  I've partially worked around this in my mod, however the part of the glow near the spider's eyes is still white (while the rest is normal).  This is good enough for me, but for vanilla, this would be best solved by not drawing the glow while rendering "bright layers" such as spider eyes.

 

Edit: My temporary solutions for spiders and endermen can be found in the links below, but as I said earlier, it's probably better to fix this by instead not drawing the glow during these render layers:

https://github.com/Laike-Endaril/Dynamic-Stealth/blob/1c65272fdd96b7c38e43126d02f77ccaf26e8d21/src/main/java/com/fantasticsource/dynamicstealth/client/layeredits/LayerSpiderEyesEdit.java

...

https://github.com/Laike-Endaril/Dynamic-Stealth/blob/1c65272fdd96b7c38e43126d02f77ccaf26e8d21/src/main/java/com/fantasticsource/dynamicstealth/client/layeredits/LayerEndermanEyesEdit.java

Apparently this issue was fixed in 19w39a

Confirmed present in 19w38b and fixed in 19w39a. I also was able to reproduce in 18w30b, so I'm not sure why I wasn't able to before.

Eric Sexton

(Unassigned)

Confirmed

(Unassigned)

glowing

Minecraft 15w31c, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.10.2, Minecraft 16w32a, ..., Minecraft 18w50a, Minecraft 19w03c, Minecraft 19w04b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3

Minecraft 15w32c, 19w39a

Retrieved