How to convert JSON model to JAVA model?

Started by seriy.serek on

Topic category: Help with MCreator software

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to convert JSON model to JAVA model?
Sat, 01/04/2020 - 12:01 (edited)

I have JSON mini-creeper model. How to create mob from JSON/ convert JSON to JAVA?

(im not good in English)

Edited by seriy.serek on Sat, 01/04/2020 - 12:01
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can’t because it’s not…
Sat, 01/04/2020 - 13:14

You can’t because it’s not the same file structure and writing (one is not ”real” code, and the second is a java code), but I can suggest you import your JSON file into BlockBench as a custom block, and after convert in a JAVA model. You will surely have some problems after, but it’s the only solution I have.

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you love to change JSON…
Sun, 01/12/2020 - 15:17

If you love to change JSON to JAVA, it's impossible, but you could always cheat the system, you make a block with your JSON model and equip it on a head of an invisible entity (either zombie or biped model). However, your mob will not have any animation at all but trust me, it just work, I do it in my mod and it work quite well! :D

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
edit: You can change the…
Sun, 01/12/2020 - 15:20

edit: You can change the model from JSON to JAVA but with problems about angle rotation and texture in Blockbench as Goldorion  said above