Started by
DarkWither_
on
Topic category: Help with Minecraft modding (Java Edition)
Hello minecrafters! modders and admins of this platform! i've got this question! can i make an item bigger or smaller? what i mean is, that the shurikens inside my mod are big like an enderpearl or even bigger, so i want them to be smaller, also i've got a katana that is as big as a diamond sword so you know, this things do not really work really well inside my mod.
Thank you for looking at my post.
Minecraft version: 1.12.2
MCreator version: 1.9.1
Yes, you can adjust the size in the JSON file of the item:
https://www.youtube.com/watch?v=bMkmCYrtn9g&list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei&index=83
I have no idea how to resize the JSON file, and the video doesn't help, it is not possible to do what the video says in Mcreator 1.9.1
1. Create an item mod element and finish it.
2. Select the item mod element.
3. Press the "Lock/unlock elements code" icon. (The button 5 buttons below the Green Plus button.
4. Press Lock/unlock the code.
5. Double click the item mod element: Open the modelementname.JSON. (not the java)
6. https://www.youtube.com/watch?v=bMkmCYrtn9g&list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei&index=83 You're now at 2:15 in the video.
7. Paste the code in:
in the right spot as shown in the video.
8. You can now change the rotation, the size (scale) etc by adjusting the numbers.
9. Save the JSON file.
10. Make sure to keep the item the way it is and don't revert it back by pressing the same button on it again.
I tried this fix, but it has no effect in the client. Here's the code below.
{
"parent": "item/handheld",
"textures": {
"layer0": "extra:items/masamune"
}
},
"display": {
"ground": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 3, 0],
"scale":[ 1, 1, 1 ]
},
"fixed": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 1, 1, 1 ]
},
"thirdperson_righthand": {
"rotation": [ 0, 90, 40 ],
"translation": [ 0, 15, 2 ],
"scale": [ 2.0, 2.0, 2.0 ]
},
"firstperson_righthand": {
"rotation": [ 0, 90, 40 ],
"translation": [ 0, 15, 2 ],
"scale": [ 2.0, 2.0, 2.0 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 90, 40 ],
"translation": [ 0, 15, 2 ],
"scale": [ 2.0, 2.0, 2.0 ]
}
}
use blockbench to create/change the json, then import it the json model and texture to your item. blockbench can do what you want.
StellaeLux I was just searching for such a thing and your advice was very helpful, thank you very much :D
DarkWither_ if you use blockbench, and get done making block, item, etc, go to display, and modify those. Their is presets you can click and will auto-adjust. Then save bbmodel and import. Hope this helps you. Or do like StellaeLux said.