Posted October 7, 20177 yr I have checked through the vanilla coding a bit, but i do not understand how i can change the texture size, i have done the Quote this.body.setTextureSize To specify how big i want the texture size to be, but no matter how high or low i put it, its always a really, really small point in the left upper corner. I have no idea why. The model and mob itself works extraordinary, but the texture doesn't change its size. Here is my render and model class (the model class is where i specified texture size and all that) - https://gist.github.com/triphion/36a928dbc1ba75c9b81589933d6ee4ba (Should also point out that i used a picture with different colours to find out where the texture area was). Edited October 7, 20177 yr by Triphion
October 7, 20177 yr private int textureWidth = 64; private int textureHeight = 64; public ModelClottIce() { this.body = new ModelRenderer(this, 0, 0); this.body.setRotationPoint(-4F, 16F, -4F); this.body.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F); this.body.setTextureSize(32, 16); Hmm...one look and the problem is found, as i can see. Think again about the first 2 lines and the last one.
October 7, 20177 yr Author should they be the same? Is that what youre trying to say? Because i tried that. Quote private int textureWidth = 64; private int textureHeight = 64; public ModelClottIce() { this.body = new ModelRenderer(this, 0, 0); this.body.setRotationPoint(-4F, 16F, -4F); this.body.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F); this.body.setTextureSize(64, 64); } Still the same thing. Edited October 7, 20177 yr by Triphion
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.