Started by
balintuszi1
on
Topic category: Help with Minecraft modding (Java Edition)
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…
Block GUI: https://imgur.com/9gZUKwM
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)