Custom leaves aren't opaque with "fast" graphics

Not applicable
Issue description

The issue happens both in 1.12 and 1.14 and is caused by the custom leaves overriding the getBlockLayer() method, setting it to CUTOUT.

Issue comments

I have fixed this bug, but existing custom leaves will have to be opened and saved again.

In 1.12.2, it seems it is not possible to fix this bug, I have removed CUTOUT parameter in 1.12.2 but it does not help, fancy parameter seems to not get set for custom blocks so I will leave it with fancy by default.

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.