Data Packs Challenge

Simple Plague

  • Functions
  • 1,303 views • 1 today
  • 30 downloads • 0 today
  • 6
  • 4
Vakore
Level 14 : Journeyman Goblin Goblin
1
Like the plagues you see in civilization events sometimes. If you want to change the item needed for curing from a milk bucket to something else, go to

data -> plague -> functions -> load.mcfunction

and open that file with a text editor before installing the pack on a world.



/execute as <player> run function plague:plagueget

/execute as <player> run function plague:plagueremove


Hunger 5(or 6) - Immediately
Slowness 1 - 2 minutes
Slowness 2 - 4 minutes
Darkness - 5 minutes
Poison 5(or 6) - 10 minutes
Blindness - 15 minutes
Wither(death) - 20 minutes

"Timer starts at 20 seconds when you get the plague"

Players in spectator or creative will not get the plague from players.

The plague is not removed from a player upon dying or entering spectator or creative.

Players with plague has a 7 block spread radius, checks are done every 2 seconds(For both curing and spreading, this is for performance purposes)
CompatibilityMinecraft 1.20
Tags

  Have something to say?

Welcome