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

public class SolarHelmetTask extends AbstractArmorTask
The SolarHelmetTask is responsible for handling SolarHelmet for generating power and adding checks for if it has sunlight and if the player is actually wearing it.
Author:
TheBusyBiscuit, martinbrom, Semisol
  • Constructor Details

    • SolarHelmetTask

      public SolarHelmetTask()
  • Method Details

    • onPlayerTick

      @ParametersAreNonnullByDefault protected void onPlayerTick(org.bukkit.entity.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