Class ChargeUtils

java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.ChargeUtils

public final class ChargeUtils extends Object
This is just a simple helper class to provide static methods to the Rechargeable interface.
Author:
TheBusyBiscuit, WalshyDev
See Also:
  • Method Details

    • setCharge

      public static void setCharge(@Nonnull ItemMeta meta, float charge, float capacity)
    • getCharge

      public static float getCharge(@Nonnull ItemMeta meta)