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 Details
-
ArmorTask
public ArmorTask(boolean radioactiveFire) This creates a newArmorTask
.- Parameters:
radioactiveFire
- Whether radiation also causes aPlayer
to burn
-
-
Method Details