#need help writing the script below for my server!

4 messages · Page 1 of 1 (latest)

marsh holly
#

Disable all natural spawning
Use the cancellable EntityEvents.checkSpawn to cancel every vanilla or modded spawn attempt .

On a server‐side tick every 5 minutes
Hook LevelEvents.tick, check level.getDayTime() % 6000 === 0 (6000 ticks = 5 min) to run your custom spawn logic .

When a player stands on Coarse Dirt or Grass Block

Randomly pick one of these five groups:

nukacraft:radroach (spawn 5)

nukacraft:ant (spawn 5)

nukacraft:bloatfly (spawn 5)

nukacraft:molerat (spawn 5)

extinction:infected_bear (spawn 1)

Summon the chosen mob(s) in a ring 10–20 blocks away from the player.

When a player stands on Yuushya:Asphalt

Choose 5–8 mobs at random from:

extinction:runner_ii

extinction:stalker

extinction:parasite

extinction:patient_zero

extinction:infected_police

Summon them in a ring 10–20 blocks around the player.

strange hazelBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

idle rose
#
  1. say what you need, dont copy some chatgpt garbage, think for yourself
  2. this is support, not Fiverr for finding jobs
unkempt wraith
#
  1. We're volunteers and we're here to help you learn, it's support not requests