Posted June 7, 20205 yr Hey, I've been trying to change entities' so they all appear transparent Noticed that opengl has a method for that, color4f, but I didn't managed to make it work whatsoever Would really appreciate if someone could help me a bit
June 7, 20205 yr Here is an entity render class I wrote some time ago: https://github.com/Budschie/Deepnether-Mod/blob/master/src/main/java/de/budschie/deepnether/entity/renders/ShadowRenderer.java The important part is this line: this.entityModel.render(matrixStackIn, ivertexbuilder, packedLightIn, i, r, g, b, flag1 ? 0.15F*a : a);
June 7, 20205 yr https://github.com/GenElectrovise/MagiksMostEvile/tree/1.15.2/src/main/java/genelectrovise/magiksmostevile/common/entity/vampire_bat An example from me too! How to ask a good coding question: https://stackoverflow.com/help/how-to-ask Give logs, code, desired effects, and actual effects. Be thorough or we can't help you. Don't post code without putting it in a code block (the <> button on the post - select "C-type Language"): syntax highlighting makes everything easier, and it keeps the post tidy. My own mod, Magiks Most Evile: GitHub (https://github.com/GenElectrovise/MagiksMostEvile) Wiki (https://magiksmostevile.fandom.com/wiki/Magiks_Most_Evile_Wiki) Edit your own signature at https://www.minecraftforge.net/forum/settings/signature/
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.