perromercenary00 Posted March 19, 2016 Posted March 19, 2016 Good days i speend all the afternoon resolving issues whith json files from mi mod and stuck whith this feature normaly I used in mi json files for mi items this kind of code "display": { "thirdperson": { "rotation": [ 0, 0, 45 ], "translation": [ 0, 0, 0 ], "scale": [ 0.5, 0.5, 0.5 ] }, "firstperson": { "rotation": [ 0, 0, 45 ], "translation": [ 0, 16, 0 ], "scale": [ 0.125, 0.125, 0.125 ] }, "gui": { "rotation": [ 45, 22.5, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 1.0, 1.0, 1.0 ] } } to adjust the position and rotation of the item in the diferents modes, thirdperson, firstperson, and the way the item looks in the Inventory but in this case the changes i made has no efect on position scale|translation|rotation for thirdperson and firstperson only the gui values seems to work to adjust the inventory icon rotation and position ############################# they change this behaveour there is no other explanation, but now ¿ how do you adjust the scale|translation|rotation of an item in this new schemme? full json { "textures": { "particle": "blocks/blocks/blocks/blocks/modmercenario:items/materiales/acero", "0": "modmercenario:items/materiales/aceroi", "1": "modmercenario:items/materiales/transparencia", "2": "modmercenario:items/materiales/acerob" }, "elements": [ { "name": "Element", "from": [ 2.0, 6.0, 6.0 ], "to": [ 14.0, 10.0, 10.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } }, { "name": "Element", "from": [ 4.0, 6.0, 6.0 ], "to": [ 12.0, 10.0, 10.0 ], "faces": { "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } }, { "name": "Element", "from": [ 2.0, 6.0, 6.0 ], "to": [ 14.0, 8.0, 10.0 ], "faces": { "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } }, { "name": "Element", "from": [ 2.0, 6.0, 6.01 ], "to": [ 4.82, 8.0, 9.99 ], "rotation": { "origin": [ 2.0, 8.0, 8.0 ], "axis": "z", "angle": 45.0 }, "faces": { "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } }, { "name": "Element", "from": [ 11.18, 6.0, 6.01 ], "to": [ 14.0, 8.0, 9.99 ], "rotation": { "origin": [ 14.0, 8.0, 8.0 ], "axis": "z", "angle": -45.0 }, "faces": { "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } } ], "display": { "thirdperson": { "rotation": [ 0, 0, 45 ], "translation": [ 0, 0, 0 ], "scale": [ 0.5, 0.5, 0.5 ] }, "firstperson": { "rotation": [ 0, 0, 45 ], "translation": [ 0, 16, 0 ], "scale": [ 0.125, 0.125, 0.125 ] }, "gui": { "rotation": [ 45, 22.5, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 1.0, 1.0, 1.0 ] } } } thanks for readng Quote
perromercenary00 Posted March 19, 2016 Author Posted March 19, 2016 sorry a found an example in vainilla bow json "display": { "thirdperson_righthand": { "rotation": [ -80, 260, -40 ], "translation": [ -1, -2, 2.5 ], "scale": [ 0.9, 0.9, 0.9 ] }, "thirdperson_lefthand": { "rotation": [ -80, -280, 40 ], "translation": [ -1, -2, 2.5 ], "scale": [ 0.9, 0.9, 0.9 ] }, "firstperson_righthand": { "rotation": [ 0, -90, 25 ], "translation": [ 1.13, 5.2, 1.13], "scale": [ 0.5, 0.5, 0.5 ] }, "firstperson_lefthand": { "rotation": [ 0, 90, -25 ], "translation": [ 1.13, 5.2, 1.13], "scale": [ 0.5, 0.5, 0.5 ] }, "gui": { "rotation": [ 45, 22.5, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 1.0, 1.0, 1.0 ] } } Quote
CoderAtParadise Posted March 19, 2016 Posted March 19, 2016 Its easier just to set the blocks parent to "blocks/block" and for items set the parent to "items/handheld" Quote Did you really need to know?
perromercenary00 Posted March 20, 2016 Author Posted March 20, 2016 ya i wass thinking in made thath but first i have to fix the parental model this is an ingot and i wanted to make a 3d model of an ingot at hand but its harder than it looks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.