Desperately need wait code

Started by Rednax on

Topic category: Help with MCreator software

Active 4 years ago
Joined Jan 2020
Points:
852

User statistics:

  • Modifications: 5
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 184
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.

Active 2 years ago
Joined Dec 2017
Points:
1046

User statistics:

  • Modifications: 7
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 332
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

Active 4 years ago
Joined Jan 2020
Points:
852

User statistics:

  • Modifications: 5
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 184
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