Jump to content

Custom Beacon Beam Renderer Help


skip999

Recommended Posts

Hello,

I have been working on a custom block that has emits a beacon beam. I'm fairly certain I've nailed down all the functional components in the tick method, and I have set up a renderer class for the tile entity. However, it does not seem to want to render the beam. I know the renderer is initialized, yet it does not seem to want to render the beam. I have included a link to my project on github. The relevant class is under client.renderer, and is callled 'WardingBeaconTileEntityRenderer". If anyone could provide me some tips as to what I may need to fix or point out what I am doing wrong, I would really appreciate it. Thanks in advance!

 

github: https://github.com/skiprocks999/Amulets-of-Infinity/tree/Rings-Of-Infinity/RingsOfInfinity

Edited by skip999
it would help if I actually put the link in
Link to comment
Share on other sites

Hi.

The first problem appears to be that you are creating beam segments on the server and then trying to render them on the client without transmitting them from client to server.

If they're purely cosmetic then you only need to create them on the client, not the server actually.

 

I changed them to create on the client and your renderer was at least called (it crashed due to index out of bounds) but hopefully that gets you a step further at least.

 

-TGG

Link to comment
Share on other sites

  • 3 weeks later...

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.