Package | Description |
---|---|
com.comphenix.xp | |
com.comphenix.xp.rewards | |
com.comphenix.xp.rewards.items | |
com.comphenix.xp.rewards.xp |
Modifier and Type | Method and Description |
---|---|
ResourceFactory |
Action.getReward(RewardTypes type)
Retrieves a associated reward by type.
|
Modifier and Type | Method and Description |
---|---|
RewardTypes |
RewardService.getRewardType()
Retrieves the reward type.
|
static RewardTypes |
RewardTypes.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RewardTypes[] |
RewardTypes.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RewardProvider.containsReward(RewardTypes type)
Determines whether or not the given reward type has been registered.
|
RewardService |
RewardProvider.getByEnum(RewardTypes rewardType)
Returns the currently registered reward service for this type.
|
void |
RewardProvider.setDefaultReward(RewardTypes defaultType)
Sets the default reward service by type.
|
RewardService |
RewardProvider.unregister(RewardTypes rewardType)
Unregisters a specified reward service.
|
Modifier and Type | Method and Description |
---|---|
RewardTypes |
RewardDrops.getRewardType() |
Modifier and Type | Method and Description |
---|---|
RewardTypes |
RewardVirtual.getRewardType() |
RewardTypes |
RewardExperience.getRewardType() |
RewardTypes |
RewardEconomy.getRewardType() |