[Bug] Window Blocks not culling correctly
NonplussedUltra opened this issue ยท 2 comments
Describe the bug
When using copycats:copycat_block
with Create windows, the north/south/east/west faces connect as they should, but the top/bottom faces' wood plank texture is visible at boundaries between the two block types.
To Reproduce
Steps to reproduce the behavior:
- Place a Create window.
- Place a
copycats:copycat_block
on top of it, and assign it the same texture as the Create window. - Next to these, stack two Create window blocks.
- Inside the assembly of two Create windows, no boundary is visible. Between the copycat and the Create window, the wood planks face is visible inside.
Expected behavior
Expected that the copycat and the Create window textures would connect seamlessly.
Desktop (please complete the following information):
- Minecraft 1.20.1
- Forge 47.2.0
- Copycats+ 2.0.5
Additional context
Also running Embeddium.
Its very likely the window blocks from create are doing something special to work the way they do. I expect we need to add support for them properly to function how they should.
Thanks for the report
Face hiding only works between 2 copycats, not between a copycat and a normal block. This isn't something specific to windows, since most blocks implement simple face hiding with the skipRendering
method, which doesn't provide enough info for copycats to decide whether their shapes match. If you have two copycats next to each other, Forge uses the hidesNeighborFace
method to allow shape comparison, while Fabric just works its magic to hide faces automatically.