How to convert JSON model to JAVA model?

Started by seriy.serek on

Topic category: Help with MCreator software

Active 5 years ago
Joined Dec 2019
Points:
645

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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
Active 1 day ago
Joined Aug 2016
Points:
3304

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2927
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.

Active 4 years ago
Joined May 2019
Points:
888

User statistics:

  • Modifications: 1
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 122
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

Active 4 years ago
Joined May 2019
Points:
888

User statistics:

  • Modifications: 1
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 122
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