mojira.dev
MC-208

Paintings & item frames can overlap / Z-fighting when overlapping

Mac osx 10.8 mountain lion, java 6.9

Places on a 4high by 9long wall, the wither painting overlapped when I placed Nother painting next to it, this time the huge pink lines painting (NES game?)

It created a graphical glitch where each was trying to be ontop so it was flickering each painting.

Linked issues

MC-375 The Paintings can overlap eachother Resolved MC-421 images can overlap images Resolved MC-1208 Multiple Paintings In One Place Resolved MC-1303 Painting glitch Resolved MC-2345 You can place Paintings in the same Place as Item Frames Resolved

Attachments

Comments 15

Could you make a screenshot of it?

Cloudy (Aaron Mills)

Note - there is a screenshot on MC-375 of overlapping paintings.

The screenshot is in MC-421, not 375.

Yeah I couldn't get the glitch to happen again, I think I might of changed circumstances or something because I couldn't recreate it for a screenshot, but this is exactly what happened.. Thanks..

From Kurisu Brooks
------------------------
クリスブルックス

I'm getting this too, even in the 1.4.3 prerelease.

To reproduce:
1. Place a painting or item frame on a wall
2. Repeatedly place another painting to the left or to the left and below it until you get a 2x2 or larger painting.
3. The newer painting should overlap the older one.

Looking at the code in MCP, it's fairly easy to see what the problem is. Near the end of the method that sets up the painting entity's bounding box, a local variable is initialized that is then added to the edges of the bounding box. In versions previous to 1.4, this variable was -0.00625F. In 1.4, this value is -0.03125F. Restoring the old value seems to fix the painting behavior.

5 more comments

Still in 13w18c

Happens in 13w19a

Robert Pendell

Bug present in 13w19b. I wonder how I never noticed this before as it seems to be a long standing bug. Is it possible to check for an existing painting around the current block where one is to be attached to before selecting?

Confirmed for 13w48b

Whats wrong with this? Its a good thing cos you can make weird looking stuff and put item frames with them etc, if you dont like the paintings overlapping, then move them. Fixing this will get rid of so many possibilities. Like to make a sharp looking tv you can use a painting with carpet on it, but not any more cos the painting just pops off.

Chris Brooks

(Unassigned)

Confirmed

Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w01b, ..., Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w47e, Minecraft 13w48a, Minecraft 13w48b

Minecraft 14w10a

Retrieved