[GH-ISSUE #368] [rendering] Shulker texture flickers #95

Closed
opened 2026-11-02 15:36:19 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/368

Reported by tydragon in Discord #horizon-chat on 2026-10-15: the shulker's texture flickers (survival). Needs a repro: shulker entity vs shulker box, and when it flickers (opening/closing, at a distance, while moving).

Originally created by @ludovic111 on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/368 Reported by tydragon in Discord #horizon-chat on 2026-10-15: the shulker's texture flickers (survival). Needs a repro: shulker entity vs shulker box, and when it flickers (opening/closing, at a distance, while moving).
bsakaguchi 2026-11-02 15:36:19 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 15, 2026):

Claimed by ludovic on Discord (GitHub: ludovic111), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #368).

<!-- gh-comment-id:6199929550 --> @ludovic111 commented on GitHub (Oct 15, 2026): Claimed by `ludovic` on Discord (GitHub: `ludovic111`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #368). <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 15, 2026):

Unclaimed by ludovic on Discord: this issue is free to take.

<!-- gh-comment-id:6203334635 --> @ludovic111 commented on GitHub (Oct 15, 2026): Unclaimed by `ludovic` on Discord: this issue is free to take. <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 16, 2026):

tydragon posted a 35 s clip on Discord (#horizon-chat, 2026-10-16): https://cdn.discordapp.com/attachments/1559242412121919620/1560620841455190116/Screencast_From_2026-10-16_13-48-05.mp4

A placed/spawned shulker (in a glass room) switches between its normal purple and a strong red tint on the shell and head across the clip. To check: is this the hurt overlay (it should last 10 ticks after a hit, as in vanilla's LivingEntityRenderer.getOverlayCoords), or does the tint flicker without damage?

<!-- gh-comment-id:6215538133 --> @ludovic111 commented on GitHub (Oct 16, 2026): tydragon posted a 35 s clip on Discord (#horizon-chat, 2026-10-16): https://cdn.discordapp.com/attachments/1559242412121919620/1560620841455190116/Screencast_From_2026-10-16_13-48-05.mp4 A placed/spawned shulker (in a glass room) switches between its normal purple and a strong red tint on the shell and head across the clip. To check: is this the hurt overlay (it should last 10 ticks after a hit, as in vanilla's `LivingEntityRenderer.getOverlayCoords`), or does the tint flicker without damage?
Author
Owner

@ludovic111 commented on GitHub (Oct 21, 2026):

🤖 Agent: closing as can't reproduce; thanks @tydragon (Discord) for the report and the clip. The Discord link to the clip has expired, so it could not be re-checked.

What was tried, on current main (252f877f) on the Mac mini: a shulker summoned in a glass room, survival, Normal difficulty, the shulker attacking the player (bullets, levitation). Over 40+ screenshots across its closed, peeking and open states:

  • without damage the shell keeps its purple texture; only the lid's position changes as it peeks (ShulkerModel.setupAnim);
  • the shell and head turn red only after a hit, for 10 ticks, then go back to purple: vanilla's hurt overlay (LivingEntityRenderState.hasRedOverlay = hurtTime > 0 || deathTime > 0, LivingEntityRenderer.getOverlayCoords). After one punch: hurt_time 6, 3, 2, 0 over the next frames, red then purple.

So a shulker flashing red while it's being hit is vanilla behaviour. If it turns red without being hit, please reopen with a new clip and what was around it (other shulkers, bullets, the world's version).

closed open (attacking) just hit
<!-- gh-comment-id:6326179764 --> @ludovic111 commented on GitHub (Oct 21, 2026): 🤖 Agent: closing as can't reproduce; thanks @tydragon (Discord) for the report and the clip. The Discord link to the clip has expired, so it could not be re-checked. What was tried, on current main (252f877f) on the Mac mini: a shulker summoned in a glass room, survival, Normal difficulty, the shulker attacking the player (bullets, levitation). Over 40+ screenshots across its closed, peeking and open states: - without damage the shell keeps its purple texture; only the lid's position changes as it peeks (`ShulkerModel.setupAnim`); - the shell and head turn red only after a hit, for 10 ticks, then go back to purple: vanilla's hurt overlay (`LivingEntityRenderState.hasRedOverlay` = `hurtTime > 0 || deathTime > 0`, `LivingEntityRenderer.getOverlayCoords`). After one punch: hurt_time 6, 3, 2, 0 over the next frames, red then purple. So a shulker flashing red while it's being hit is vanilla behaviour. If it turns red without being hit, please reopen with a new clip and what was around it (other shulkers, bullets, the world's version). | closed | open (attacking) | just hit | |---|---|---| | ![](https://raw.githubusercontent.com/ludovic111/horizon/b01dd34ad5343951d09ae41f01d7495b8db904b9/b2/368-closed.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/b01dd34ad5343951d09ae41f01d7495b8db904b9/b2/368-open.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/b01dd34ad5343951d09ae41f01d7495b8db904b9/b2/368-hit.png) |
Author
Owner

@TYDragon commented on GitHub (Oct 25, 2026):

Sorry, but there’s been a mistake, tydragon is not my Discord account. I did not report such an error

<!-- gh-comment-id:6396917294 --> @TYDragon commented on GitHub (Oct 25, 2026): Sorry, but there’s been a mistake, tydragon is not my Discord account. I did not report such an error
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#95
No description provided.