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
-
Method Summary
Modifier and TypeMethodDescriptionThis returns aSet
ofPotionEffects
which get applied to aPlayer
when they are exposed to deadly radiation.void
run()
-
Constructor Details
-
Method Details
-
getRadiationEffects
This returns aSet
ofPotionEffects
which get applied to aPlayer
when they are exposed to deadly radiation.- Returns:
- The
Set
ofPotionEffects
applied upon radioactive contact
-
run
public void run()
-