Started by
Orgamorsh
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I am trying to render a model I made in blockbench onto the player enity when a player variable is set to true. I was wondering if anyone was willing to help me since I have no Idea how entity rendering works.
Yeah, I need help with this too! No one seems to have any answer for this. That, or they help one another privately. If you have an answer to this, plz help!
Still no one? It's been almost a week already.
This is the best bet because no one will help you anywhere else. I especially need the variables part. Because if the variable is set to true, that's what decides if it will render something on the player. At least for me, that is.
You can't exactly replace the player model, but you could create a custom armor model, apply the armor when you want to change the model and make the player invisible in the meantime.
That's the thing, I'd like to add multiple renders at a time, and armor doesn't allow for that. Also, imo, armor seems a little bit lazy.
I don't think it's possible to do that using MCreator without coding at this point.
Yes that's the thing, I want someone to teach me how to code this in. People have done it in Mcreator before, but they just won't share how they did it
It sounds like you're asking for free code. This forum in general isn't the best place to ask for help with coding at. If you have some experience with coding in Java, then head to a coding forum to ask for help. If you have no experience with coding in Java, then learn some of the basics of Java and then ask for some help on a coding forum for Java (Minecraft specific would be best).
Other people here share their code snippets all the time. I'm just asking for simple code snippets to put into my game so that my mod can work.
It is impossible to do this without mixins and custom code. Changing the player model is a difficult thing to do, as many things in minecraft depend on it. Some mods do it successfully though. I can't help you unfortuneately, but I suggest looking at open source code of mods that do this already, even if they aren't in 1.18.2, to give you an idea of how to do it yourself. You need to have some level of java knowledge to do this though. I also would like to figure it out, and I do have a bit of java knowledge at this point so I will see if I can, as It would be super beneficial to me as well. If I ever do, I will let you know. But I doubt anyone on these forums knows how to do that, it is a very complicated task that requires a lot of custom code.