Jump to content

[SOVLED][1.8] WorldRenderer: ... of type WorldRenderer error: cannot find symbol


Recommended Posts



I'm updating a TileEntitySpecialRenderer to 1.8 but I keep getting this error on all calls from the WorldRenderer even though it's clearly defined, intialized and accessible to the entire method:



error: cannot find symbol
wr.setColorOpaque_F(1f, 1f, 1f);
symbol: method setColorOpaque_F(1f, 1f, 1f)
location: variable wr of type WorldRenderer


(same with setBrightness() method)



public void renderTileEntityAt(TileEntity tileEntity, double posX, double posY, double posZ, float scale, int p_180535_9_) {
                 World world = tileEntity.getWorld();

	// bind the overlay resource texture

	// set up GL
	GL11.glTranslated(x, y, z);

	Tessellator t = Tessellator.getInstance();
	WorldRenderer wr = t.getWorldRenderer();

	// set the the alpha settings
	// these three enable opacity of whole image - not sure that that is what i want

	wr.setColorOpaque_F(1f, 1f, 1f);


Any ideas? Eclipse isn't showing anything wrong. I deleted my build folder to ensure nothing is being cached, cleaned the project, even switch from forge 1.8/1281 to forge 1.8/1285.



Link to comment
Share on other sites

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.

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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