Class ChargeUtils
java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.ChargeUtils
This is just a simple helper class to provide static methods to the
Rechargeable
interface.- Author:
- TheBusyBiscuit, WalshyDev
- See Also:
-
Method Summary
-
Method Details
-
setCharge
public static void setCharge(@Nonnull org.bukkit.inventory.meta.ItemMeta meta, float charge, float capacity) -
getCharge
public static float getCharge(@Nonnull org.bukkit.inventory.meta.ItemMeta meta)
-