Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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?]

 

 

Bcj5Zp5.png

qvtkxQp.png

 

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 by CAS_ual_TY

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.