random events?

Started by scaryclown on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Jun 2017
Points:
753

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
random events?

any tips on how to make random events, i.e, between every 2 to 6 minecraft days, a horde of zombies spawn near the player etc.

Active 2 years ago
Joined May 2020
Points:
682

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 57
On player tick update create…
Sun, 06/14/2020 - 07:51

On player tick update create a timer, whole days in minecraft are around 1200sec, IF logic nbt = false DO day = 2400+round rand*1200+...+round rand*1200 until there is chance from 2 to 6 days, set logic nbt to true. IF time>day DO spawn zombies and set logic nbt to false and time to 0 to restart the procedure for another wave

I suggest you check our…
Sun, 06/14/2020 - 18:17

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

Active 1 year ago
Joined Nov 2023
Points:
143

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
hello everyone, i didn't…
Mon, 11/27/2023 - 20:46

hello everyone, i didn't understand a little how to do it:
DO day = 2400+round rand*1200+...+round rand*1200

Active 1 year ago
Joined Nov 2023
Points:
143

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
can you give a picture…
Mon, 11/27/2023 - 22:32

can you give a picture please?(

Active 1 year ago
Joined Nov 2023
Points:
143

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
plz?
Tue, 11/28/2023 - 01:43

plz?

Active 1 year ago
Joined Nov 2023
Points:
143

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
plzzzzzzzzzzzzzzzzz
Sat, 12/02/2023 - 06:43

plzzzzzzzzzzzzzzzzz