Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.9] anidated json files


perromercenary00
 Share

Recommended Posts

good days

i having  suggestion about the json models works

 

as they come in 1.8 if i wanna make an animated item little more complex i need to make a separate json file for every animation frame of mi mod resulting in than to make a simeple pistol like this

 

i have to create 22 diferent json files and is not exactly the best animation

when i notice the change in the json files for the 1.9  i think for a brief this could be solved

all the textures and rotations controlled by a single file but wass not as i think

 

in the new system the old method  ModelResourceLocation getModel() just get moved to a json file and from this i must call all the other jsons using predicates :{}, soo still i have to create 22 files plus this one json replacing the getModel()

 

soo i suggest to make posible to anidate a json extructure inside another json file soo in place of doing something like this declaring four separate files

https://gist.github.com/anonymous/85acc8c28e6c108f5cf9

 

you could do something like this, all in just one file

https://gist.github.com/anonymous/b30ea632b3a1dbc6f0ec

 

or even more convenient give the hability of only declare the replace for the textures

https://gist.github.com/anonymous/ee3d2b2f169e6347a855

 

 

well thanks for reading

and sorry im not native english speak

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.