Uses of Interface
com.hazebyte.crate.api.crate.reward.Reward
-
Packages that use Reward Package Description com.hazebyte.crate.api.claim com.hazebyte.crate.api.crate Classes related toCrate
com.hazebyte.crate.api.crate.reward Classes related toReward
com.hazebyte.crate.api.event Classes dedicated to handling code triggers. -
-
Uses of Reward in com.hazebyte.crate.api.claim
Methods in com.hazebyte.crate.api.claim that return types with arguments of type Reward Modifier and Type Method Description List<Reward>
Claim. getRewards()
Method parameters in com.hazebyte.crate.api.claim with type arguments of type Reward Modifier and Type Method Description CompletableFuture<Claim>
ClaimRegistrar. addClaim(org.bukkit.OfflinePlayer player, List<Reward> rewards)
-
Uses of Reward in com.hazebyte.crate.api.crate
Methods in com.hazebyte.crate.api.crate that return Reward Modifier and Type Method Description Reward
CrateRegistrar. createReward()
Creates a default reward.Reward
CrateRegistrar. createReward(String line)
Creates a reward using a reward line.Methods in com.hazebyte.crate.api.crate that return types with arguments of type Reward Modifier and Type Method Description List<Reward>
CrateRegistrar. generateCrateRewards(Crate crate, org.bukkit.entity.Player player)
Uses the built-in reward generator to pick a prize for a player.List<Reward>
Crate. getConstantRewards()
Returns the list of rewards that will be given to the player no matter what.List<Reward>
Crate. getRewards()
Returns the list of rewards.Methods in com.hazebyte.crate.api.crate with parameters of type Reward Modifier and Type Method Description void
Crate. addReward(Reward reward)
Adds a reward to the prize list.void
Crate. onReward(org.bukkit.entity.Player player, Reward reward)
Called whenever a player triggers a win for this crate.boolean
Crate. removeReward(Reward reward)
Removes a reward from the prize list.Method parameters in com.hazebyte.crate.api.crate with type arguments of type Reward Modifier and Type Method Description void
Crate. onRewards(org.bukkit.entity.Player player, List<Reward> rewards)
Called whenever a player triggers a win for this crate.void
Crate. onRewards(org.bukkit.entity.Player player, List<Reward> rewards, org.bukkit.Location location)
void
Crate. onRewards(org.bukkit.entity.Player player, List<Reward> rewards, org.bukkit.Location location, Consumer consumer)
void
Crate. setRewards(List<Reward> rewards)
Sets the list of rewards to a new list -
Uses of Reward in com.hazebyte.crate.api.crate.reward
Methods in com.hazebyte.crate.api.crate.reward that return Reward Modifier and Type Method Description Reward
Reward. copy()
https://www.artima.com/intv/bloch13.htmlMethod parameters in com.hazebyte.crate.api.crate.reward with type arguments of type Reward Modifier and Type Method Description void
Reward. setExecutor(BiFunction<Reward,org.bukkit.entity.Player,Set<RewardExecutorResult>> executor)
-
Uses of Reward in com.hazebyte.crate.api.event
Methods in com.hazebyte.crate.api.event that return types with arguments of type Reward Modifier and Type Method Description List<Reward>
CrateRewardEvent. getRewards()
Constructor parameters in com.hazebyte.crate.api.event with type arguments of type Reward Constructor Description CrateRewardEvent(Crate crate, org.bukkit.entity.Player player, org.bukkit.Location location, List<Reward> rewards)
-