Jump to content

timoteo2000

Forge Modder
  • Posts

    30
  • 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?
×
×
  • Create New...

Important Information

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