Stairs/Slab block bases do not cull correctly

Published by WenXin2 on Fri, 07/03/2020 - 23:52
Status
Can not reproduce
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

The culling for transparent stairs and slabs don't seem to check for a matching blockstate. If an upper slab is placed next to a lower slab, the face is still culled, as seen in the workspace & screenshot.

Also, the wall elements seem to have broken when I updated to the new snapshot, the log says it failed to load the code for walls. I had to lock the wall code to fix it, as even recreating a new wall block has this error.

The relevant elements are named GlassSlab, GlassStairs, and StrippedAzureWoodWall.

Attachment Size
2020-07-03_11.24.34.png687.35 KB 687.35 KB
natureplus-1.15.2-1.8.2.zip1.49 MB 1.49 MB

Issue comments

For the stairs I don't think there is a fix for this as this is how vanilla renderer renders stairs - block base == extension of the vanilla element with custom properties and texture.

I had to lock the wall code to fix it, as even recreating a new wall block has this error.

Your wood wall does no have locked code and works properly so I am not sure what you meant here?

The mod Prefab has glass stairs and slabs which doesn't cull the sides unless it matches, here is that code if it helps any. 

For the Wall block, could it be that my workspace got corrupted and the re-importing it could fix it? Here are two more images, this is what happens when I unlock any of the wall blocks or create a new one:

Link 1

Link 2

 



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.