Compilation error (Caused by procedure)

Published by Ale1025 on Thu, 04/16/2020 - 06:33
Issue description

I was working on a mushroom like block and wanted it to have the same placing mechanics as normal minecraft mushrooms (not the big ones, the cross model ones).

Here I have the compilation error:


I'll attach below the shareable workspace.

Attachment Size
Shareable workspace18.27 KB 18.27 KB
procedureproblem.PNG18.01 KB 18.01 KB

Issue comments

It seems negative numbers in math operations can cause build problems.

Workaround is to change blocks like this:

Problematic procedure

To use z + 1 instead of z - (-1) which is essentially the same.

Proper fix for this will be in 2020.3.

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.