1
Hello everyone, I'm creating a mod, and some of the entities I’ve made are the wrong size I know it’s GL11.glScalef(x,y,z), but the problem I know where to use it for info I use MCreator on Minecraft 1.10.2.
Thank everyone, LEOSAURE
Thank everyone, LEOSAURE
Create an account or sign in to comment.
5
2
Put it in front of the code which is calling the render on the model
1
Could you tell me more about the position of the code because, being that there are several lines of code dealing with the rendering of the model.
2
I'm not very familiar with MCreator code style, but since you said, you're creating entities I an sure you're using .java models. So you need to find the entity variable (not sure how it will be called, but it should definitely contain something like entityName.render(some parameters). So you need to find that and insert the scale function in front of that. Also maybe you will need to push and pop matrix if it hasn't been done (using GL11 or GlStateManager).
1
After using the GL11.glScalef command should another command be used or not ?
2
If you have the model scaled the way you want to and you have it done correctly then you don't need anything else