Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

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

  • 3 weeks later...
  • 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.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.