Jump to content

Entity is rendering by its BB?


thebest108

Recommended Posts

I have a simple solid entity and I ve noticed that it is rendering by its boudning box as a white box (without the f3+b thing). I was wondering if something was wrong with my rendering so here it is

public void doRender(Entity var1, double var2, double var4, double var6, float var8, float var9) {
	RenderBlocks render = new RenderBlocks();
	FlyingChestEntity entity = (FlyingChestEntity)var1;
	GL11.glPushMatrix();
        GL11.glTranslatef((float)entity.posX, (float)entity.posY, (float)entity.posZ );
        render.renderBlockAsItem(Block.chest, 0, 6);
        GL11.glPopMatrix();

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

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.

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...

×   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.

Announcements



×
×
  • Create New...

Important Information

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