Uses of Class
dev.tezvn.timeditem.utils.TimeUnits
| Package | Description |
|---|---|
| dev.tezvn.timeditem.api | |
| dev.tezvn.timeditem.api.event.item | |
| dev.tezvn.timeditem.utils |
-
Uses of TimeUnits in dev.tezvn.timeditem.api
Methods in dev.tezvn.timeditem.api with parameters of type TimeUnits Modifier and Type Method Description static org.bukkit.inventory.ItemStackTimedItemAPI. addTime(org.bukkit.inventory.ItemStack item, TimeUnits unit, int amount)Add expire time for itemstatic org.bukkit.inventory.ItemStackTimedItemAPI. removeTime(org.bukkit.inventory.ItemStack item, TimeUnits unit, int amount)Subtract expire time of item -
Uses of TimeUnits in dev.tezvn.timeditem.api.event.item
-
Uses of TimeUnits in dev.tezvn.timeditem.utils
Methods in dev.tezvn.timeditem.utils that return TimeUnits Modifier and Type Method Description static TimeUnitsTimeUnits. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TimeUnits[]TimeUnits. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in dev.tezvn.timeditem.utils that return types with arguments of type TimeUnits Modifier and Type Method Description static java.util.Optional<TimeUnits>TimeUnits. parse(java.lang.String str)Parses the string argument as a signed time unit key