Posted May 3, 20187 yr Hello, basically the FontRenderer is rendering a given text in white, unless I am holding any Item or Block in my hand. Pictures of what I mean (the Strings in the middle are what Im talking about): [EDIT: It seems like I pasted the code and question inside the spoiler as well and it doesnt let me edit the text. Is there a "raw" option, which shows the bb code instead of compiling them inside the editor?] Now, here is the code I tried, without success: RenderHelper.disableStandardItemLighting(); this.fontRenderer.drawStringWithShadow(this.viewZone.name, textX, textY, 0xFFFFFF); RenderHelper.enableStandardItemLighting(); GL11.glEnable(GL11.GL_BLEND); this.fontRenderer.drawStringWithShadow(this.viewZone.name, textX, textY, 0xFFFFFF); GL11.glDisable(GL11.GL_BLEND); GL11.glColor4f(1f, 1f, 1f, 1f); this.fontRenderer.drawStringWithShadow(this.viewZone.name, textX, textY, 0xFFFFFF); If anyone knows the solution to this and could help me; I would be very thankful! Thanks! Edited May 3, 20187 yr by CAS_ual_TY https://github.com/CAS-ual-TY/Visibilis [1.14] How to Villagers, Trades, Professions, Fix Trades https://minecraft.curseforge.com/projects/gun-customization-infinity / https://github.com/CAS-ual-TY/GunCus https://minecraft.curseforge.com/projects/ygo-dueling-mod https://minecraft.curseforge.com/projects/mundus-magicus https://minecraft.curseforge.com/projects/deuf-duplicate-entity-uuid-fix
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.