Well, I know that, I dont actually know how to start the tickevent when rightclicking the block. Even making a boolean "started" it cant work because if the player right click on more blocks at one only 1 boolean cant work
Hello, it`s been a while, and now i am again here, i was really busy. I coded some events but i cant figure out how to connect them. For example I wanna make a method like this:
this.tick(123) { //123 are ticks
//Do my things here after 123 ticks in the RightClickBlock event
}
Is a thing like this possible? If yes how can i do it?
Thank you for reading.
Thank you void for your amazing reply. I just have a question. How its called the "tick event" you are talking about?
Also does the tick field needs to be int or a double?
Hello. I am here because I want to know how to execute a void method after few ticks. What do I mean? Here is an example: In a subscribe event(for example BlockRightClick event) when you actually right click the block after the number of ticks you want it will do a void method/action for example spawn particles. Thank you for reading. I hope I was clear enough.
Hello.
I these days i created a block and i want than when you place it near it, it will generate particles in a range of 3 blocks. And also that if in the position where the particle has to spawn theres a block it will no spawn. How can I do that?
Thank you for helping me. Sorry for my bad english.