public class ObservationTracker
extends java.lang.Object
| Constructor and Description |
|---|
ObservationTracker() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
generateProgressLore(org.bukkit.entity.Player player,
WauzBestiaryEntry entry)
Generates a list of lores to display the observation rank progress of a mob for a given player.
|
static void |
tryToAddProgress(org.bukkit.entity.Player player,
org.bukkit.entity.Entity entity)
Adds progress to the observation rank of the killed mob, if it has a valid bestiary entry.
|
public static void tryToAddProgress(org.bukkit.entity.Player player,
org.bukkit.entity.Entity entity)
player - The player who defeated the entity.entity - The entity that was defeated.public static java.util.List<java.lang.String> generateProgressLore(org.bukkit.entity.Player player,
WauzBestiaryEntry entry)
player - The player to get the observation rank progress for.entry - The bestiary entry of the mob.