Double Slabs

Double Slabs

5M Downloads

Double Slabs Render Incorrectly Underwater

WenXin20 opened this issue ยท 10 comments

commented

Minecraft v1.15.2
Forge v31.2.19
Double Slabs v2.5.1

If a double slab is created underwater, it renders incorrectly, with water flowing down it's sides.

commented

Do you have a screenshot so I can see what you mean please?

commented

The double slab is a stone bricks and wood planks slab.
2020-06-17_15 42 01

commented

Hmm. Okay. Thank you for the report! I will take a look and see what I can do. Not too sure what would be causing this.

commented

It's similar to how glass used to render underwater. Some mod glass still does this, so it might be related to transparency.

commented

So I've looked into this and it seems to be due to the fact that a double slab and a vertical slab are not classed as solid blocks to enable compatibility with slabs that have transparency which causes the game to render the flowing water textures on the side. From what I've seen, there is no apparent way to fix this unfortunately but I will continue to investigate

commented

Hmm, how does glass handle it? Looks like there is a method from forge to avoid that here, maybe this'll help?

commented

That is only applied for the bottom side of the block and not for every side of the block unfortunately

commented

Hmm, I reported a similar issue at CyclopsMC/ColossalChests#126 at while ago, maybe this will help?

commented

Hold on, I think you're right. I misread that it was part of a for loop. Whoops :D.
I'll see about patching that right away for you!

commented

Thanks!