mojira.dev
MCPE-125314

"Blockshape" component causes erratic behavior with certain blocks

In a resource pack, if a vanilla block uses a different vanilla block model using the "blockshape" component in blocks.json, some blockshape IDs will work as expected - but other blockshape IDs can cause unexpected behavior, including strange shading and loss of tints.

For example, changing leaf blocks to have another blockshape may cause them to lose ambient occlusion and have flat shading, in addition to losing their green tint ("scaffolding" is an example of a blockshape ID that works as expected with leaf blocks, while "cactus" is an example of one that removes the green tint, as shown in the attached image). Further, adding the cactus blockshape to a solid block, like a jukebox as shown below, will cause strange dark shading to occur. 

I cannot determine any correlation with which blocks do and do not work with which blockshape IDs. I have found that the blockshape's original block lacking ambient occlusion is not a determining factor - as scaffolding, for example, does not have ambient occlusion - yet the "scaffolding" blockshape does work with leaves, and does not cause the shading issues.

This really holds back a lot of creativity and possibilities in texture packs, so I hope it can be resolved. Ideally, changing the blockshape should only change geometry, and not other properties like ambient occlusion or how tints work.

Attachments

Comments 5

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.

Is this still an issue in the latest version?

I can confirm that the issue is still present in 1.18.0.21 Beta as well as 1.17.34.

Cleaning up old tickets: This ticket has not been updated recently (~3 months+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

SCtester

(Unassigned)

Plausible

Windows

Windows 10

1.18.0.21 Beta, 1.17.20.21 Beta, 1.16.230.56 Beta, 1.16.230.54 Beta, 1.16.220, 1.17.2 Hotfix, 1.17.34

Retrieved