mojira.dev
MC-274257

Outer layer on invisible slime entity does not render at all like other model parts

The slime entity's outer layer which the player normally sees is not rendered at all when the slime is invisible, and either the player is in spectator, or the slime is on the same team as the player.

Steps to Reproduce:

  1. Spawn a slime

  2. Make it invisible

    /effect give @e minecraft:invisibility infinite
    /effect give @e minecraft:invisibility infinite
  3. Change your gamemode to spectator

Observed Behavior:

The slime's outer clothes layer will not be visible at all. Only the inner cube part with eyes will be translucently visible.

Expected Result:

The slime's outer layer would be visible regardless of it's effect status, shared team with the player, or the player's gamemode.

Screenshots/Videos:

Invisible and visible slime:

[media]

Notes:

  1. Related to: MC-271512 MC-271511

Attachments

Comments 1

[Mod] Jingy

(Unassigned)

Community Consensus

Platform

Low

Rendering

invisibility, invisible_entity_rendering, layer, slime

1.21, 1.21.1, 24w36a, 24w44a, 1.21.3, 1.21.8 Release Candidate 1, 1.21.10

Retrieved