Posted May 22, 201510 yr Hey, I need help making the item icon for my custom modeled block, but it's not coming out as I wanted. It comes out as this First Person http://i1319.photobucket.com/albums/t661/Nova_Leary/Nile%20CraftingTable%20Item%20View%201st%20Person_zpsb1ku68wh.png[/img] Third Person http://i1319.photobucket.com/albums/t661/Nova_Leary/Nile%20CraftingTable%20Item%20View%203rd%20Person_zpskqma5rw7.png[/img] Inventory View http://i1319.photobucket.com/albums/t661/Nova_Leary/Nile%20CraftingTable%20Item%20View_zpsmbjnjpiu.png[/img] Here is my textures on Github: https://github.com/NovaViper/ZeroQuest/tree/master/src/main/resources/assets/zero_quest/textures/blocks/nileTable Block model json { "textures": { "TablePart": "zero_quest:blocks/nileTable/part", "TableTop": "zero_quest:blocks/nileTable/top", "particle": "zero_quest:blocks/nileTable/particle" }, "elements": [ { "from": [ 0, 0, 0 ], "to": [ 16, 3, 16 ], "__comment": "Base", "faces": { "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"} } }, { "from": [ 2, 3, 2 ], "to": [ 14, 10, 14 ], "__comment": "Pole", "faces": { "north": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "south": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "east": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "west": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "up": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "down": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"} } }, { "from": [ 0, 9, 0 ], "to": [ 16, 15, 16 ], "__comment": "Top", "faces": { "north": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "south": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "east": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "west": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "up": { "uv": [ 0, 0, 0, 0 ], "texture": "#TableTop"}, "down": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"} } } ] } Item model json { "parent": "zero_quest:block/crafting_table_nile", "display": { "thirdperson": { "rotation": [ -90, 0, 0 ], "translation": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson": { "rotation": [ 0, -135, 25 ], "translation": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } } } Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
May 23, 201510 yr Author Anyone know what I'm doing wrong? Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
May 23, 201510 yr It would help if we knew what you wanted it to come out as. I'm assuming you want it to be smaller in first person, in which case you need to turn down the firstperson scale in your item .json. If that still isn't to your liking, fiddle around with the item .json until you like it. You'll learn how it works as you go.
May 23, 201510 yr Author Basically, I want it look like it was in 1.7.10 1st Person and Inventory View http://i1319.photobucket.com/albums/t661/Nova_Leary/Nile%20CraftingTable%201.7.10%20Inventory%20and%201st%20person_zpsewebfryc.png[/img] 3rd Person View http://i1319.photobucket.com/albums/t661/Nova_Leary/Nile%20CraftingTable%201.7.10%203rd_zpstpwl7c07.png[/img] Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
May 23, 201510 yr I see; rotation and texture problems. For the rotation, you'll have to edit the firstperson rotation of your item .json util you like it. In your model json you specified a one-pixel section of your texture to render on each side of the voxel. So instead of { "from": [ 0, 9, 0 ], "to": [ 16, 15, 16 ], "__comment": "Top", "faces": { "north": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "south": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "east": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "west": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "up": { "uv": [ 0, 0, 0, 0 ], "texture": "#TableTop"}, "down": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"} } } try { "from": [ 0, 9, 0 ], "to": [ 16, 15, 16 ], "__comment": "Top", "faces": { "north": { "uv": [ 0, 0, 16, 6 ], "texture": "#TablePart"}, "south": { "uv": [ 0, 0, 16, 6 ], "texture": "#TablePart"}, "east": { "uv": [ 0, 0, 16, 6 ], "texture": "#TablePart"}, "west": { "uv": [ 0, 0, 16, 6 ], "texture": "#TablePart"}, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#TableTop"}, "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"} } } (I may have gotten the north/south/east/west Y parts wrong, you'll have to play with it and see what works)
May 23, 201510 yr Also, I suggest you learn how to use this program. It's helped me a ton with making models for my own mod. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1265906-tool-mc-model-maker-design-custom-block-models
May 23, 201510 yr Author Also, I suggest you learn how to use this program. It's helped me a ton with making models for my own mod. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1265906-tool-mc-model-maker-design-custom-block-models I've used that tool to get the model, but for some reason I cannot get the 3D viewer to come up, Im using Java 8 and my computer is Windows 7 64 bit Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
May 23, 201510 yr The 3D viewer doesn't work for me either; I'm glad you use it though. Just making sure. Does your model work now?
May 23, 201510 yr Author I had to get off of my computer, so I won't be able to test it for a few hours I think. I'll let you know when it works Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
May 24, 201510 yr Author That works, but the bottom parts don't render the parts like the top http://i1319.photobucket.com/albums/t661/Nova_Leary/2015-05-23_19.22.04_zpsqnrztycu.png[/img] json file { "textures": { "TablePart": "zero_quest:blocks/nileTable/part", "TableTop": "zero_quest:blocks/nileTable/top", "TableSide": "zero_quest:blocks/nileTable/side", "particle": "zero_quest:blocks/nileTable/particle" }, "elements": [ { "from": [ 0, 0, 0 ], "to": [ 16, 3, 16 ], "__comment": "Base", "faces": { "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"}, "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"} } }, { "from": [ 2, 3, 2 ], "to": [ 14, 10, 14 ], "__comment": "Pole", "faces": { "north": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "south": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "east": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "west": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "up": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"}, "down": { "uv": [ 0, 0, 0, 0 ], "texture": "#TablePart"} } }, { "from": [ 0, 9, 0 ], "to": [ 16, 15, 16 ], "__comment": "Top", "faces": { "north": { "uv": [ 0, 0, 16, 6 ], "texture": "#TableSide"}, "south": { "uv": [ 0, 0, 16, 6 ], "texture": "#TableSide"}, "east": { "uv": [ 0, 0, 16, 6 ], "texture": "#TableSide"}, "west": { "uv": [ 0, 0, 16, 6 ], "texture": "#TableSide"}, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#TableTop"}, "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#TablePart"} } } ] } Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
May 24, 201510 yr Author Nvm! I fixed it and also, I want it to sit upward instead of on the side, like on the pictures posted already Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
May 24, 201510 yr Author Woop, nevermind, I got it right! Thanks for the help Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
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.