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.

Jode

Members
  • Joined

  • Last visited

  1. Thanks a bunch; everything works fine now.
  2. Let's say I have a block, and a TileEntity associated with that block. The TileEntity stores a certain amount of energy (not that it matters, but it is stored in a short). The block is set to receive random update ticks, and when it does, it will balance the amount of energy it has with adjacent blocks of the same type. However, I do not want this to occur randomly and infrequently; I want it to occur on a constant, consistent basis (every 3 ticks, for example). How would I go about accomplishing this? I don't want to hook into ticks from outside the block's class if possible, because then I'd need to scan the entire loaded world for these blocks, which wouldn't be very CPU-friendly. Thanks in advance.

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.