-
Bug
-
Resolution: Fixed
-
Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2
-
Confirmed
-
(Unassigned)
The bug
Blocks with flat textures like flowers, mushrooms or rails have z-fighting when rendered in the hand of a player in third person view, villager / iron golem or enderman.
This is not the case for the mushrooms rendered on top of mooshroom cow or for falling block entities.
How to reproduce
Summon an enderman holding a poppy
/summon enderman ~ ~ ~ {NoAI:1b,carriedBlockState:{Name:"minecraft:poppy"}}
How to reproduce (player in third person view)
- Download the attached resource pack MC-114576.zip and load it
- Put a poppy in your selected slot or your offhand
- Switch to third person view (F5)
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
It looks like culling is not enabled before the block is rendered.
- clones
-
MC-76894 Some blocks held by Enderman not rendering or render weird
- Resolved
- is duplicated by
-
MC-73069 Using a sprite(flat cube) in a custom item model applies both textures for both sides of the sprite in third person view
- Resolved
-
MC-155769 Poppy appears darker than it should in iron golem's hand
- Resolved
-
MC-155771 Z-fighting when iron golem holds a poppy
- Resolved
-
MC-163440 Poppy texture is unstable when being held by an Iron Golem
- Resolved
- relates to
-
MC-63942 Transparent block weird rendering when held in hand/worn by entity (player)
- Resolved
-
MC-85133 Back-face culling is not enabled for items held in 3rd person
- Resolved