DrOreo002 Posted April 14, 2018 Posted April 14, 2018 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 Quote
MCrafterzz Posted April 14, 2018 Posted April 14, 2018 Post the log. I need to see if there is a error. Quote http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
The_Brook Posted April 14, 2018 Posted April 14, 2018 Have you tried with just a simple model ? Quote
DrOreo002 Posted April 14, 2018 Author Posted April 14, 2018 On 4/14/2018 at 11:30 AM, The_Brook said: Have you tried with just a simple model ? Expand hmm, lemme try it. Quote
DrOreo002 Posted April 14, 2018 Author Posted April 14, 2018 Okay, its working with a simple model. But using this custom 3d model is not working somehow, it just show a invisible item Quote
The_Brook Posted April 14, 2018 Posted April 14, 2018 Have you validated the JSON file ? If there is any error within the synthax, it will show it. https://jsonlint.com/ Quote
DrOreo002 Posted April 14, 2018 Author Posted April 14, 2018 On 4/14/2018 at 12:18 PM, The_Brook said: Have you validated the JSON file ? If there is any error within the synthax, it will show it. https://jsonlint.com/ Expand its a valid json. 0 error Quote
The_Brook Posted April 14, 2018 Posted April 14, 2018 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. Quote
DrOreo002 Posted April 14, 2018 Author Posted April 14, 2018 On 4/14/2018 at 12:29 PM, 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. Expand ??, what do you mean? this all of my texture (png file) btw Quote
The_Brook Posted April 14, 2018 Posted April 14, 2018 It should be OK. I don't know what can be causing this. Quote
DrOreo002 Posted April 14, 2018 Author Posted April 14, 2018 :(. Bump.., pls help me m8 On 4/14/2018 at 12:38 PM, The_Brook said: It should be OK. I don't know what can be causing this. Expand ty for your help btw Quote
The_Brook Posted April 14, 2018 Posted April 14, 2018 If you post your mod on GitHub, I can help you more. But like this it's difficult. Quote
DrOreo002 Posted April 14, 2018 Author Posted April 14, 2018 (edited) On 4/14/2018 at 12:42 PM, The_Brook said: If you post your mod on GitHub, I can help you more. But like this it's difficult. Expand I can post it into github if you want. I'll do it, I really need to fix this... Edited April 14, 2018 by DrOreo002 Quote
MCrafterzz Posted April 14, 2018 Posted April 14, 2018 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? Quote http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
DrOreo002 Posted April 14, 2018 Author Posted April 14, 2018 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 Quote
DrOreo002 Posted April 15, 2018 Author Posted April 15, 2018 Uploaded it on github. https://github.com/DrOreo002/OreoMod Pls help Quote
DrOreo002 Posted April 15, 2018 Author Posted April 15, 2018 On 4/15/2018 at 1:29 AM, diesieben07 said: Problematic code, issue 10, 13, 14 and 15. Code style, issue 1. Expand That's a really good tips there. Is there's any example about the @SidedProxy things and the others? Quote
Draco18s Posted April 15, 2018 Posted April 15, 2018 On 4/15/2018 at 1:56 AM, DrOreo002 said: That's a really good tips there. Is there's any example about the @SidedProxy things and the others? Expand See the documentation about sides and the section about @SidedProxy Quote 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.
DrOreo002 Posted April 15, 2018 Author Posted April 15, 2018 On 4/15/2018 at 1:58 AM, Draco18s said: See the documentation about sides and the section about @SidedProxy Expand Okie, ty Quote
DrOreo002 Posted April 15, 2018 Author Posted April 15, 2018 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... Quote
quadraxis Posted April 15, 2018 Posted April 15, 2018 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. Quote
DrOreo002 Posted April 15, 2018 Author Posted April 15, 2018 On 4/15/2018 at 4:11 AM, 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. Expand Tysm dude!. Its working now :3 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.