Started by
nod3py
on
Topic category: Help with MCreator software
I was using the program to make an entity which performs an action every # of ticks in-game. I noticed there was an "on entity update tick" procedure event, and so I went there, since I had used this in the past with blocks (A simple ore generator). I got to work, making the procedure, but once I was done and I tested it, I realized I had not set any update tick amount.
How would I edit this amount? This would be very useful, since my entire project is depending on this.
Thanks for any further help!
From what i know you cannot edit the tick update rate for a entity simply with options.
This is a sample code to help you understand how you can make it work.
basically upon being right clicked it creates a timer.
P.S
Keep in mind the data here is all saved to the entity being right clicked not the player.
Have Any questions I'm here.
But this link with multiple tips and tutorials is great :) >https://www.youtube.com/watch?v=qS-H_SDdDso&list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei
I have here:
Entity_Right_Clicked
and
Entity_Tick_Update
I guess I am unsure of how it would make a timer from these blocks. There isn't anything about delays or anything from my knowledge.
I am trying to make an entity wait for x amount of seconds, and then repeat. Maybe it's not in the update tick procedure, but how would I do that?
The CooldownCounter is a timer in this situation.
When the CooldownCounter is bigger than 60,
It will then let you right click the entity and get the diamond. Test it out make a mob with these procedures in the images.
Also note every 20 ticks is =1 second.
If none of this helps, use the link or visit YouTube
And search for: mcreator tutorial playlist.
I was able to find info from a video in the playlist! Thanks for the source!
No problem 👍