public class RelationTracker
extends java.lang.Object
| Constructor and Description |
|---|
RelationTracker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addProgress(org.bukkit.entity.Player player,
java.lang.String citizen,
int relationExp)
Adds progress to a relation and grants the fitting rewards when completed.
|
static java.util.List<java.lang.String> |
generateProgressLore(org.bukkit.entity.Player player,
java.lang.String citizen)
Generates a list of lores to display the relation progress for a given player and citizen.
|
public static void addProgress(org.bukkit.entity.Player player,
java.lang.String citizen,
int relationExp)
player - The player to receive relation experience.citizen - The citizen to increase the relation for.relationExp - The relation experience to add.public static java.util.List<java.lang.String> generateProgressLore(org.bukkit.entity.Player player,
java.lang.String citizen)
player - The player to get the relation progress for.citizen - The citizen to measure the relation with.