java.lang.Object
io.github.thebusybiscuit.slimefun4.implementation.tasks.armor.AbstractArmorTask
io.github.thebusybiscuit.slimefun4.implementation.tasks.armor.RadiationTask
All Implemented Interfaces:
Runnable

public class RadiationTask extends AbstractArmorTask
The RadiationTask handles radioactivity for Radioactive items.
Author:
Semisol
  • Constructor Details

    • RadiationTask

      public RadiationTask()
  • Method Details

    • onPlayerTick

      @ParametersAreNonnullByDefault protected void onPlayerTick(Player p, PlayerProfile profile)
      Description copied from class: AbstractArmorTask
      Method to handle behavior for player's armor as a whole. It is called once per player.
      Specified by:
      onPlayerTick in class AbstractArmorTask
      Parameters:
      p - The Player wearing the armor
      profile - The Player's PlayerProfile
    • addGracePeriod

      public static void addGracePeriod(@Nonnull Player player)
      Adds the given Player's grace period to the collection.
      Parameters:
      player - The player to add the grace period to.