Help please! I want to create a raid mod.

Started by balintuszi1 on

Topic category: Help with modding (Java Edition)

Last seen on 11:29, 29. Oct 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help please! I want to create a raid mod.

Please help! I want to make a block is spawning zombies every 5 seconds if the player press the start button.  Workspace link: https://www.mediafire.com/file/l2uo90tkyima2rg/Infection_Raides_v1_work…

 

Last seen on 16:24, 19. Dec 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set the ticks (example:…
Sat, 03/26/2022 - 19:30

Set the ticks (example: block update every 100 ticks (5 seconds) ) for the Update Tick on Block Settings, create a procedure for the block (On Block Tick Update)...

Procedure:
spawn at x y z "creature"

this will make the block to spawn a creature every 5 seconds (100 ticks), it is recommended to put on the coordinates a +1 on Y coordinates to avoid spawning inside the block...

Instructions Here:
https://mega.nz/folder/uZsEnQSZ#1Dt1n9-NgMbUlrFsKFZGmQ
The Tick Rate need to be 100 ticks if you want 5 seconds, 20 ticks = 1 second

You should probably make 7 / 10 just to avoid a fast entity spawn, and avoid lag / crash... (spawning to much creatures at the same time is not good, so, be carefull)