Desperately need wait code

Started by Rednax on

Topic category: Help with MCreator software

Last seen on 10:54, 17. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Desperately need wait code

I am making a very large mod and there is going to be a boss. One of the boss's attacks is summoning several eggs that will hatch into enemies after a short time. I am also going to make talking NPCS that will talk to you about things and provide quests. For both of these, I need a procedure block that will provide a delay. Without this highly essential function, I can't make the mod nearly as well as I'd like to.

Last seen on 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
only way me thinks is to use…
Sat, 10/10/2020 - 06:26

only way me thinks is to use a variable or an NBT tag that counts up and when it gets to whatever tick amount for the time then hatch the eggs

Last seen on 10:54, 17. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I will try that. After a…
Sat, 10/10/2020 - 08:14

Ok, I will try that. After a brainstorm with a friend, we have had even more ideas that hinge on this, such as a boss that only becomes vulnerable for a set time, and a crystal that charges up a beam. Thanks for the help.

only way me thinks is to use…
Sun, 10/11/2020 - 13:40

only way me thinks is to use a variable or an NBT tag that counts up and when it gets to whatever tick amount for the time then hatch the eggs

This. You need some sort of counter.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Also check https://www.youtube.com/playlist?list=PLAeL-oIFIEni-O5D8ooqR-tBQgEn-Qi8L