Class ArmorTask
java.lang.Object
io.github.thebusybiscuit.slimefun4.implementation.tasks.ArmorTask
- All Implemented Interfaces:
Runnable
The
ArmorTask is responsible for handling PotionEffects for
Radioactive items or any SlimefunArmorPiece.
It also handles the prevention of radiation through a Hazmat Suit- Author:
- TheBusyBiscuit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis returns aSetofPotionEffectswhich get applied to aPlayerwhen they are exposed to deadly radiation.voidrun()
-
Constructor Details
-
Method Details
-
getRadiationEffects
This returns aSetofPotionEffectswhich get applied to aPlayerwhen they are exposed to deadly radiation.- Returns:
- The
SetofPotionEffectsapplied upon radioactive contact
-
run
public void run()
-