Jump to content

Xatpy

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Xatpy's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi, I wanna know how ticks work. I have looked for a tutorial about this, but I have found nothing. Indeed, what I want to do is to create a block each 10 ticks. I have this code, but it doesn't work: public void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random) { ++i; if ((i % 10) == 0) { par1World.setBlockWithNotify(par2, par3, par4 + 1,this.blockID); par1World.markBlockForUpdate(par2, par3, par4 + 1); } } Thank you very much!
×
×
  • Create New...

Important Information

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