Posted July 14, 20196 yr Hello I can spawn my entities now in verson 1.14.3. But how can i make one of them smaller (if i try to create the model smaller, it will have not more enough texture-pixels for the face.)? So i want to scale it, while it renders. How does that work in this version?
July 14, 20196 yr protected void preRenderCallback(EntityJungleSpider nttLizSt, float par2) { GL11.glScalef(0.2F, 0.2F, 0.2F); } I think this is what you're looking for: it goes in the render class. Obviously just change it to your entity and Whatever scale you want. Oh, this is still working 1.13. I have no 1.14 version. Edited July 14, 20196 yr by salvestrom Clarification
July 14, 20196 yr Do not use GL11 directly. Use GLStateManager. For half size you want GLStateManager.scale(0.5, 0.5, 0.5) About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
July 14, 20196 yr 9 hours ago, Drachenbauer said: if i try to create the model smaller, it will have not more enough texture-pixels for the face The physical size of the model is not relevant to its resolution. Some tips: Spoiler Modder Support: Spoiler 1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code. 2. Always post your code. 3. Never copy and paste code. You won't learn anything from doing that. 4. Quote Programming via Eclipse's hotfixes will get you nowhere 5. Learn to use your IDE, especially the debugger. 6. Quote The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it. Support & Bug Reports: Spoiler 1. Read the EAQ before asking for help. Remember to provide the appropriate log(s). 2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.
July 15, 20196 yr Author I have this now, that works for me (in the render-class): @Override public float prepareScale(BluesEntity entitylivingbaseIn, float partialTicks) { GlStateManager.scalef(0.5F, 0.5F, 0.5F); return super.prepareScale(entitylivingbaseIn, partialTicks); } 17 hours ago, DavidM said: The physical size of the model is not relevant to its resolution. I create my entity models with blockbench and save them as java-classes. Blockbench links the texture resolution directly to the size of the created cube, if i create an entity model. So i must create some of them bigger to give them the right look and shrink them back down with the shown method in their renders. Edited July 15, 20196 yr by Drachenbauer
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.