Package | Description |
---|---|
eu.wauz.wauzcore.data |
This package contains general configurator classes, that read and write .yml files.
|
eu.wauz.wauzcore.menu.collection |
This package contains inventory classes, used as menu for collection mechanics.
|
eu.wauz.wauzcore.mobs.pets |
This package contains classes, that are used for the pet system.
|
Modifier and Type | Method and Description |
---|---|
static WauzPetRarity |
PetConfigurator.getRarity(java.lang.String petKey) |
Modifier and Type | Method and Description |
---|---|
static int |
PetConfigurator.getBreedingLevelTime(int level,
WauzPetRarity rarity) |
Modifier and Type | Field and Description |
---|---|
private WauzPetRarity |
BreedingMenu.newPetRarity
The rarity of the new pet;
|
Modifier and Type | Field and Description |
---|---|
private WauzPetRarity |
WauzPet.rarity
The rarity of the pet.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<WauzPetRarity,java.lang.Integer> |
WauzPetBreedingLevel.rarityTimeMap
The breeding time in seconds, indexed by pet rarity.
|
Modifier and Type | Method and Description |
---|---|
static WauzPetRarity |
WauzPetRarity.determineRarity(org.bukkit.inventory.ItemStack itemStack)
Determines the pet rarity of the given item stack's material.
|
WauzPetRarity |
WauzPet.getRarity() |
static WauzPetRarity |
WauzPetRarity.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WauzPetRarity[] |
WauzPetRarity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static WauzPet |
WauzPet.getHigherRarityOffspring(WauzPetRarity rarity,
java.lang.String category)
Gets a new random pet, with a higher rarity than its parents.
|
private static WauzPet |
WauzPet.getLowerRarityOffspring(WauzPetRarity rarity,
java.lang.String category)
Gets a new random pet, with a lower rarity than its parents.
|
static java.util.List<WauzPet> |
WauzPet.getMatchingPets(WauzPetRarity rarity,
java.lang.String category) |
static WauzPet |
WauzPet.getOffspring(WauzPetRarity rarity,
java.lang.String category)
Gets a random new pet, based off its parent's rarity and category.
30% chance for a higher rarity, 60% for the same, 10% for a lower one.
|
private static WauzPet |
WauzPet.getSameRarityOffspring(WauzPetRarity rarity,
java.lang.String category)
Gets a new random pet, with the same rarity as its parents.
|
int |
WauzPetBreedingLevel.getTime(WauzPetRarity rarity) |