Package | Description |
---|---|
eu.wauz.wauzcore.items.util |
This package contains util classes for analyzing and editing items.
|
eu.wauz.wauzcore.mobs.pets |
This package contains classes, that are used for the pet system.
|
Modifier and Type | Method and Description |
---|---|
static int |
PetEggUtils.getMaxPetStat(org.bukkit.inventory.ItemStack itemStack,
WauzPetStat stat)
Gets a maxiumum stat of an egg item stack, based on lore.
|
static int |
PetEggUtils.getPetFoodStat(org.bukkit.inventory.ItemStack itemStack,
WauzPetStat stat)
Gets a stat of an pet food item stack, based on lore.
|
static int |
PetEggUtils.getPetStat(org.bukkit.inventory.ItemStack itemStack,
WauzPetStat stat)
Gets a stat of an egg item stack, based on lore.
|
static boolean |
PetEggUtils.setPetStat(org.bukkit.inventory.ItemStack itemStack,
WauzPetStat stat,
int value,
int max)
Gets a stat of an egg item stack, based on lore.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<WauzPetStat,java.lang.Integer> |
WauzPetFoodStats.petFoodStatMap
A map of pet food stat values, indexed by corresponding stat objects.
|
private static java.util.Map<java.lang.String,WauzPetStat> |
WauzPetStat.petStatMap
A map of all pet stats, indexed by key.
|
private java.util.Map<WauzPetStat,java.lang.Integer> |
WauzActivePet.petStatMap
A map of pet stat values, indexed by corresponding stat objects.
|
private static java.util.List<WauzPetStat> |
WauzPetStat.petStats
A list of all pet stats.
|
Modifier and Type | Method and Description |
---|---|
static WauzPetStat |
WauzPetStat.getPetStat(java.lang.String petStatKey) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<WauzPetStat> |
WauzPetStat.getAllPetStats() |
Modifier and Type | Method and Description |
---|---|
int |
WauzActivePet.getActivePetStat(WauzPetStat stat)
Gets a stat of the pet.
|
int |
WauzPetFoodStats.getPetFoodStat(WauzPetStat stat)
Gets a stat of the pet food.
|
static int |
WauzActivePet.getPetStat(org.bukkit.entity.Player player,
WauzPetStat stat)
Gets a stat of the currently active pet.
|