Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Everything posted by karasik

  1. Heyo! So I'm kinda new to this stuff, but I really need to make an entity with translucent details. Since half-transparent PNG textures don't work I figured there are two types of render for transparent blocks & solid ones in minecraft. Also I saw someone recommended using the code to change the way of render: @Override public void doRender(Entity entity, double x, double y, double z, float f, float partialTicks) { GlStateManager.pushMatrix(); GlStateManager.enableAlpha(); GlStateManager.enableBlend(); GlStateManager.color(1.0F, 1.0F, 1.0F, 0.5F); super.doRender(entity, x, y, z, f, partialTicks); GlStateManager.color(1.0F, 1.0F, 1.0F, 1F); GlStateManager.disableAlpha(); GlStateManager.disableBlend(); GlStateManager.popMatrix(); super.doRender(entity, x, y, z, f, partialTicks); } Now, will it work if I use this code? And where should I put it? Like what folder, file etc. Also, if anybody knows if there's an easier way to do that please let me know. Thanks in advance
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.