Packages com.phoenixplugins.phoenixcrates.api reward

Interface RewardsGenerator


public interface RewardsGenerator
Generates a list of rewards for a crate opening session.

Implementations define how rewards are generated and returned, whether randomly or according to specific rules.

  • Method Details

    • generateRewards

      List<? extends BaseReward> generateRewards()
      Generates the rewards for a crate opening.
      Returns:
      a list of BaseReward instances
    • generateReward

      @Deprecated default <T extends BaseReward> T generateReward(Key key)
      Deprecated.
      not fully implemented; prefer generateRewards()
      Generates a single reward using the provided key.
      Type Parameters:
      T - the reward type
      Parameters:
      key - the key used to open the crate
      Returns:
      the generated reward
Last updated 10 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping