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 WauzPetAbility |
PetEggUtils.getPetAbility(org.bukkit.inventory.ItemStack itemStack)
Gets the ability of an egg item stack, based on lore.
|
Modifier and Type | Class and Description |
---|---|
class |
PetAbilityHatred
A pet ability to help the pet's owner, used every few seconds.
|
class |
PetAbilityHide
A pet ability to help the pet's owner, used every few seconds.
|
class |
PetAbilityMend
A pet ability to help the pet's owner, used every few seconds.
|
class |
PetAbilityRefresh
A pet ability to help the pet's owner, used every few seconds.
|
class |
PetAbilityRoar
A pet ability to help the pet's owner, used every few seconds.
|
class |
PetAbilitySmith
A pet ability to help the pet's owner, used every few seconds.
|
class |
PetAbilitySupply
A pet ability to help the pet's owner, used every few seconds.
|
Modifier and Type | Field and Description |
---|---|
private WauzPetAbility |
WauzActivePet.petAbility
The pet ability.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.List<WauzPetAbility> |
WauzPetAbilities.abilities
A list of all abilities.
|
private static java.util.Map<java.lang.String,WauzPetAbility> |
WauzPetAbilities.abilityMap
A map of all abilities, indexed by ability name.
|
Modifier and Type | Method and Description |
---|---|
static WauzPetAbility |
WauzPetAbilities.getAbility(java.lang.String abilityName)
Gets an ability for the given name from the map.
|
static WauzPetAbility |
WauzPetAbilities.getAbilityForLevel(WauzPetBreedingLevel breedingLevel)
Gets a random ability obtainable at the given level.
|
WauzPetAbility |
WauzActivePet.getPetAbility() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<WauzPetAbility> |
WauzPetAbilities.getAbilitiesForLevel(WauzPetBreedingLevel breedingLevel)
Gets a list of all abilities obtainable at the given level.
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.inventory.ItemStack |
WauzPetEgg.getEggItem(org.bukkit.entity.Player owner,
WauzPet pet,
WauzPetAbility ability,
long hatchTime)
Generates an egg item stack for the given pet.
|
static void |
WauzPetAbilities.registerAbility(WauzPetAbility ability)
Registers an ability.
|