[Bug]: Two Item Frames on a single block
andriihorpenko opened this issue ยท 1 comments
Minecraft version
1.19
Forge version
43.3.8
FramedBlocks version
6.8.6
Describe the bug
Seems like I can place both vanilla and FramedBlocks Item Frame on a single block.
Not sure if this is intended due to z-fighting happening.
Screen.Recording.2024-03-07.at.02.46.57.mov
How to reproduce the bug
- Place vanilla Item Frame
- Target cursor outside the placed Item Frame
- Place FramedBlocks Item Frame
Expected behavior
Prevent placing two Item Frames on a single block (vanilla's behavior)
Additional details
No response
Crash log
No response
This is a vanilla issue, there is nothing I can do about this. For technical reasons, the Framed Item Frame is a block and not an entity. When a vanilla Item Frame is placed where a Framed Item Frame already exists or vice-versa, the one being placed doesn't "notice" the one that already exists since in both cases the placed one doesn't have a collision bounding box. The same exact issue also happens with vanilla blocks that don't have collision, you can for example place an Item Frame and a Sign on the same block face since one is an entity and the other is a block.