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.

oyasunadev

Members
  • Joined

  • Last visited

  1. EDIT: Figured it out. Used System.currentTimeMillis(). THANKS TO ALL THAT HELPED! Thank you very much for your response. I think TESR is my way to go, but if I fail, I'll take your advice and just use textures. So is there an API way to animate? Or do I have to write a timer myself? The problem is that renderTileEntityAt is ran every tick for block existing in the world. So if I have two blocks then it will be ran 2 times per tick. I have something that I would like to turn on and off though. I want an animation similar to ComputerCraft's blinking placeholder. Any ideas?
  2. Yeah, I just did some research on the ISmartBlockModel class and alike. I had no previous knowledge of this class. I'm finding it very confusing. I can set it up properly with the event but how do I draw pixels over the face of the block?
  3. Sorry that was unclear. I mean that I don't want to have to have two different textures for the block, one on, and another off. I want to have one texture and then draw a pixel (green/red) at a certain spot on the face.
  4. Hey everyone. So my mod consists of a few blocks. Most of which are forms of machines. I want to have an indicator drawn over the texture on only one face. So for example, change the pixel of the texture to a different color when the machine is on. I really don't want to have textures for on and off, I want my code to be unique. Any ideas?

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.