public class FishingRewardManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FishingRewardManager.RewardCategory
Category names must match one-to-one with the subtags of "rewards" in
builtin/fishingRewards.yml.
|
static class |
FishingRewardManager.RewardItem |
Constructor and Description |
---|
FishingRewardManager()
Creates the instance.
|
Modifier and Type | Method and Description |
---|---|
Collection<FishingRewardManager.RewardItem> |
getCategoryItems(FishingRewardManager.RewardCategory category)
Returns all the
FishingRewardManager.RewardItem instances for the items in the given category. |
public Collection<FishingRewardManager.RewardItem> getCategoryItems(FishingRewardManager.RewardCategory category)
FishingRewardManager.RewardItem
instances for the items in the given category.category
- the category to look upCopyright © 2021. All rights reserved.