Data Packs Challenge

Simple Plague

  • 1.3k views 0 today
  • save_alt 31 downloads
Compatibility
Minecraft 1.20
Changes include
  • Functions
  • 6
  • 4
Vakore
Lvl 14Journeyman 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)

More like this

  Have something to say?

Welcome