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

public class RainbowArmorTask extends AbstractArmorTask
The RainbowArmorTask is responsible for handling the change in color of any Rainbow Armor piece.
Author:
martinbrom
  • Constructor Details

    • RainbowArmorTask

      public RainbowArmorTask()
  • Method Details

    • onTick

      protected void onTick()
      Description copied from class: AbstractArmorTask
      Method to handle things related to the task itself. Called once per tick (per schedule interval).
      Overrides:
      onTick in class AbstractArmorTask
    • 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