Posted August 29, 201312 yr Question 1: Is there an alternative to tick handlers? I have a block and something happens to it after a certain amount of time and id usually use a tick counter to time and then execute but id need to make the variable a static one to make it accessible from my Block class, now I dont want that because I dont want the timer to be the same for every block. Is there a way around this or an alternative? Im trying to avoid static at all costs *To people who suggest the update method in Block, it dosent tick enough, so no.*
August 29, 201312 yr well if the methods of block dont satisfy you then theres no scalable solution how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 29, 201312 yr *To people who suggest the update method in Block, it dosent tick enough, so no.* You can world.scheduleBlockUpdate(args) , so yes.
August 30, 201312 yr Author *To people who suggest the update method in Block, it dosent tick enough, so no.* You can world.scheduleBlockUpdate(args) , so yes. Never knew that was such a thing, this works fine. Thanks
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.