Posted December 10, 20204 yr 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 December 10, 20204 yr by skip999 it would help if I actually put the link in
December 11, 20204 yr Howdy I'll give it a look tomorrow if I get time, no guarantees, but in the meantime you might find this working example or a TER with custom quad rendering helpful https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe21_tileentityrenderer -TGG
December 12, 20204 yr 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
December 31, 20204 yr Author Hello, I apologize if this is a slight necro, but I have been working on other stuff. How do I transmit the beam segments to the client? I can't seem to turn up anything with google, but granted I might just not be searching the right phrase. Thanks!
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.