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.

timoteo2000

Forge Modder
  • Joined

  • Last visited

Everything posted by timoteo2000

  1. Well, that still doesn't spawn the fire. Earlier, before I tried any wait methods, or added the air to appear later, the fire spawned alright. So my current method is w.scheduleBlockUpdate(par4, par5, par6, Block.fire.blockID, 10) I placed that between all the setBlock() methods for the fire and the air.
  2. So I'm guessing since I'm making air appear I should do 0 for the blockID? EDIT: Fire still doesn't spawn, but I know the air is because it makes other blocks go away.
  3. Using scheduleBlockUpdate, the fire placement is still not called. Although, I don't know exactly all the parameters, just that all 5 are ints. Any idea what each one stands for?
  4. Hello, I've recently been working on this cool mod, and I came across a problem. I need to make some methods (for resetting fire to air) wait for 1/2 a second without causing immense lag, crashing the client/server or not calling the fire setting methods. With my current code, here: http://gw.minecraftforge.net/MFKn , it does nothing when I right click. Well, I guess it does something. It replaces the blocks in a 5 block radius with air. It doesn't place the fire like I wanted it to. When I used threading, like Thread.sleep(), it causes immense lag and sometimes doesn't even make the fire. If I use the wait() method it actually makes the client wait, and onItemUse doesn't like that so it crashes. So, any good wait methods?

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.