Bedrock_Miner Posted February 16, 2014 Posted February 16, 2014 Hey guys! Does anyone of you has an idea how to create an Item which causes a sequence of several events with a delay inbetween? Examples: a) You have one Item, which uses setBlock to create a Beacon at given position which dissappears after some seconds. b) If you use a special Item the Player turns around three times and spawns an explosion afterwards. c) A player right-klicks an Item, is lifted up into the air and is then accelerated forward. Any Ideas how to do this? Maybe you can use a kind of a custom potion effects which does this stuff depending on World time. Or it is useful to create an invisible Entity which manages everything for you. What do you think is the better way? Or do you have another Idea? Quote http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
Bedrock_Miner Posted February 16, 2014 Author Posted February 16, 2014 I use a generified TickHandler for this which can schedule events in the future: https://github.com/diesieben07/SevenCommons/blob/master/src/main/java/de/take_weiland/mods/commons/util/Scheduler.java Not sure if you want this fancyness, but it might help Looks quite complicated to me.. And I not really understand how to use it (neither I understand all the other code examples on your site ) Quote http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
Recommended Posts
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.