Interface RebirthService
public interface RebirthService
Queries and manages player Rebirth levels, multipliers, and costs.
-
Method Summary
Modifier and TypeMethodDescription@NotNull ActionResultcanRebirth(@NotNull org.bukkit.entity.Player player) @NotNull ActionResultexecuteRebirth(@NotNull org.bukkit.entity.Player player, @NotNull Cause cause) intgetGateLockDurationSeconds(int rebirthLevel) intdoublegetMoneyMultiplier(int rebirthLevel) doublegetNextRebirthCost(@NotNull UUID playerId) intgetRebirthLevel(@NotNull UUID playerId) doublegetStartingCash(int rebirthLevel) booleanhasRequiredRareBlock(@NotNull UUID playerId) voidsetRebirthLevel(@NotNull UUID playerId, int level, @NotNull Cause cause)
-
Method Details
-
getMaxLevel
int getMaxLevel() -
getRebirthLevel
-
setRebirthLevel
-
getNextRebirthCost
-
getMoneyMultiplier
double getMoneyMultiplier(int rebirthLevel) -
getStartingCash
double getStartingCash(int rebirthLevel) -
getGateLockDurationSeconds
int getGateLockDurationSeconds(int rebirthLevel) -
hasRequiredRareBlock
-
canRebirth
-
executeRebirth
@MainThread @NotNull @NotNull ActionResult executeRebirth(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull Cause cause)
-