Jump to content

Recommended Posts

Posted

I have rendered a beacon style beam from a tile entity and it works but only when you are looking at it.

hDK5h3u.png

but if I look just above my current position then it disappears

eBJnomH.png

I have set both max render distance the same as the beacon tileentity and also the render bounding box to infinite

	@Override
@SideOnly(Side.CLIENT)
public double getMaxRenderDistanceSquared() {
	return 65536.0D;
}

@Override
@SideOnly(Side.CLIENT)
public AxisAlignedBB getRenderBoundingBox() {
	return INFINITE_EXTENT_AABB;
}

 

but still don't know why it is not rendering, any help would be much appreciated :)

Posted

In 1.8 the INFINITE_EXTENDED_AABB seem not to work probably. maybe you try to make a box from y 0 to 255 and with correct x/z cords

catch(Exception e)

{

 

}

Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).

Posted

In 1.8 the INFINITE_EXTENDED_AABB seem not to work probably. maybe you try to make a box from y 0 to 255 and with correct x/z cords

 

So i have been told haha but this is 1.9

Forge: 12.16.0.1776

 

k5CK5W7.png

Just seems to render when it wants haha

Posted

Looking at

TileEntityBeaconRenderer

, I think you need to override

TileEntitySpecialRenderer#isGlobalRenderer

to return

true

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.