JSON Model Display Tag (Solved)

Started by Aeternis.Prime on

Topic category: Help with MCreator software

Last seen on 00:45, 7. Feb 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
JSON Model Display Tag (Solved)
Wed, 04/05/2023 - 18:51 (edited)

I am trying to make my custom blocks render in the inventory like the rest of the blocks in the game. I believe that I need to add the below display code to my JSON file, but I'm not sure where to add it. 

The display code is as follows:

    "display": {
       "fixed": {
           "rotation": [ 0, 90, 0 ],
           "translation": [ 0, 0, 0 ],
           "scale": [ 0.5, 0.5, 0.5 ]
       }
   },

 

Any help with this would be greatly appreciated, and I am happy to make any clarifications necessary.

Edited by Aeternis.Prime on Wed, 04/05/2023 - 18:51
Last seen on 00:45, 7. Feb 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To fix this, add the…
Wed, 04/05/2023 - 18:51

To fix this, add the following code to the top of the JSON file:

	"parent": "block/cube",

This will rotate the inventory model like that of a regular block.