java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.electric.gadgets.SolarHelmet
All Implemented Interfaces:
Placeable

public class SolarHelmet extends SlimefunItem
The SolarHelmet can be worn by Player. As long as that Player has contact with sunlight, the helmet will charge any Rechargeable SlimefunItem that this Player is currently wearing or holding.
Author:
TheBusyBiscuit
See Also:
  • Constructor Details

  • Method Details

    • rechargeItems

      public void rechargeItems(@Nonnull Player p)
      This method recharges the equipment of the given Player by the configured factor of this SolarHelmet.
      Parameters:
      p - The Player wearing this SolarHelmet