Interface MilestoneService
public interface MilestoneService
Manages stealing milestones, block discovery index, and custom milestone reward handlers.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoiddiscoverBlock(@NotNull UUID playerId, @NotNull String blockId) getClaimedMilestones(@NotNull UUID playerId) getDiscoveredBlocks(@NotNull UUID playerId) intgetTotalStolen(@NotNull UUID playerId) booleanhasClaimed(@NotNull UUID playerId, @NotNull String milestoneId) booleanhasDiscoveredBlock(@NotNull UUID playerId, @NotNull String blockId) voidincrementTotalStolen(@NotNull UUID playerId, int delta) @NotNull RegistrationregisterRewardHandler(@NotNull org.bukkit.plugin.Plugin owner, @NotNull net.kyori.adventure.key.Key rewardTypeKey, @NotNull MilestoneService.MilestoneRewardHandler handler)
-
Method Details
-
getTotalStolen
-
incrementTotalStolen
-
getClaimedMilestones
-
hasClaimed
-
getDiscoveredBlocks
-
hasDiscoveredBlock
-
discoverBlock
-
registerRewardHandler
@NotNull @NotNull Registration registerRewardHandler(@NotNull @NotNull org.bukkit.plugin.Plugin owner, @NotNull @NotNull net.kyori.adventure.key.Key rewardTypeKey, @NotNull @NotNull MilestoneService.MilestoneRewardHandler handler)
-