Posted April 14, 20187 yr Hey. I'm new to modding here. But I know java and I'm a plugin dev at spigotmc So I follow this tutorial Link but my json model is not working. Idk what did I do wrong here.., and also I've tested my json model on custom resoucepack and it is working fine. did I do something wrong on???, please help. If you need the class to register the model or anything I can send it to you, just ask me
April 14, 20187 yr Post the log. I need to see if there is a error. http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
April 14, 20187 yr Author 1 hour ago, The_Brook said: Have you tried with just a simple model ? hmm, lemme try it.
April 14, 20187 yr Author Okay, its working with a simple model. But using this custom 3d model is not working somehow, it just show a invisible item
April 14, 20187 yr Have you validated the JSON file ? If there is any error within the synthax, it will show it. https://jsonlint.com/
April 14, 20187 yr Author 1 hour ago, The_Brook said: Have you validated the JSON file ? If there is any error within the synthax, it will show it. https://jsonlint.com/ its a valid json. 0 error
April 14, 20187 yr In your mod assets, do you have all the textures listed ? It's they are all vanilla textures but you have the mod prefix with.
April 14, 20187 yr Author 1 hour ago, The_Brook said: In your mod assets, do you have all the textures listed ? It's they are all vanilla textures but you have the mod prefix with. ??, what do you mean? this all of my texture (png file) btw
April 14, 20187 yr Author :(. Bump.., pls help me m8 1 hour ago, The_Brook said: It should be OK. I don't know what can be causing this. ty for your help btw
April 14, 20187 yr If you post your mod on GitHub, I can help you more. But like this it's difficult.
April 14, 20187 yr Author 1 hour ago, The_Brook said: If you post your mod on GitHub, I can help you more. But like this it's difficult. I can post it into github if you want. I'll do it, I really need to fix this... Edited April 14, 20187 yr by DrOreo002
April 14, 20187 yr Open the model in some sort of model viewer like blockbench to see if it's way off. The translation or scale could be wrong which makes it display behind the player or so small that it isn't visible. Also have you posted it to github now? http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
April 14, 20187 yr Author the model is fine.., I've tested it after I made it with a custom resource pack. I don't have that much time to upload it into github rn. I'll do that tommorow
April 15, 20187 yr Author 1 hour ago, diesieben07 said: Problematic code, issue 10, 13, 14 and 15. Code style, issue 1. That's a really good tips there. Is there's any example about the @SidedProxy things and the others?
April 15, 20187 yr 1 minute ago, DrOreo002 said: That's a really good tips there. Is there's any example about the @SidedProxy things and the others? See the documentation about sides and the section about @SidedProxy Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
April 15, 20187 yr Author 1 hour ago, Draco18s said: See the documentation about sides and the section about @SidedProxy Okie, ty
April 15, 20187 yr Author Okay, so this kinda going out of topic... Can you just help me why is my model is not working???. I'll try to fix my code and make it efficient, but now I only want to know how to fix this issue...
April 15, 20187 yr This is probably because you have a model that inherits from the generated model "builtin/generated" (via "item/generated"). These models are generated from their layer# textures and do not declare any elements themselves. If the model does work in a resource pack, then there may be some logic missing from Forge's model loading in order to treat this as a 'regular' model, but it is worth noting that vanilla itself doesn't have any models that work that way.
April 15, 20187 yr Author 3 hours ago, quadraxis said: This is probably because you have a model that inherits from the generated model "builtin/generated" (via "item/generated"). These models are generated from their layer# textures and do not declare any elements themselves. If the model does work in a resource pack, then there may be some logic missing from Forge's model loading in order to treat this as a 'regular' model, but it is worth noting that vanilla itself doesn't have any models that work that way. Tysm dude!. Its working now :3
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.