I read up about how the Minecraft ticks work here. I want to be able to make my block be updated every 20 ticks/1 second NOT randomly. In the World class class there is this method, but I'm not sure how to call it as I don't what parameters I should give it.
public void scheduleBlockUpdate(int par1, int par2, int par3, int par4, int par5) {}
I want my block's tick to be updated every 20 ticks, Would I have to schedule it?
I have one question about when this method is called, I'm looking for a method that is called every tick for the block. The name of the method suggests that it gets called every tick but the MCP comment the was generated confused me a bit.
tldr version; My question is really just is this method called every tick or must it be "scheduled" somehow? New question 2 posts down!
/**
* Ticks the block if it's been scheduled
*/
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) {}
The best thing in Minecraft is the way you can work together on servers to create a colony and progress together, make laws, declare wars and all those sorts of things
0
I want my block's tick to be updated every 20 ticks, Would I have to schedule it?
0
tldr version;
My question is really just is this method called every tick or must it be "scheduled" somehow?New question 2 posts down!The method is in the Block class line 564
0
0
0
0
0
0
0
0
0
Check this website:
http://www.whatsmyip.org/
0
0
22
0
We broke the RECORD!
0