I can't make procedures json formatted in plugins

Published by U1timateJ7 on Fri, 08/21/2020 - 17:36
Status
Can not reproduce
Type
Product/platform
MCreator/Windows
MCreator version
Priority
Normal
Issue description

I am trying to turn procedures into predicates by making new procedure blocks, but they can't be formatted in json

 

example plugin

Attachment Size
json incompatibility16.37 KB 16.37 KB
code failure15.73 KB 15.73 KB
procedure code3.24 KB 3.24 KB

Issue comments

but they can't be formatted in json

Could you elaborate on what you mean? Also provide any steps to reproduce, outcome, and desired outcome.

I see, procedures are designed to have .java.ftl and be java formatted. Try making .java.ftl files, it might work. Proper predicate mod element with own builder is planned for the future ;)

i tried but it didn't work properly. I am looking forward to proper predicates. when do you think it will happen.



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.