Package | Description |
---|---|
eu.wauz.wauzcore.items.enums |
This package contains enums, containing different item properties.
|
eu.wauz.wauzcore.items.identifiers |
This package contains identifier classes, used to generate random items.
|
Modifier and Type | Method and Description |
---|---|
static Rarity |
Rarity.getRandomEquipmentRarity()
Determines a random equipment rarity with a multiplier of 1-3 on a scale of 1-5 stars.
|
static Rarity |
Rarity.getRandomRuneRarity()
Determines a random rune rarity with a multiplier of 1-2 on a scale of 1-3 stars.
|
static Rarity |
Rarity.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rarity[] |
Rarity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
private Rarity |
WauzEquipmentIdentifier.rarity
The rarity of the equipment.
|
Modifier and Type | Method and Description |
---|---|
private void |
WauzEquipmentBuilder.applyCustomItemProperties(java.util.List<java.lang.String> lores,
CustomItem customItem,
Rarity rarity)
Adds the possible properties of a custom item class to the lores.
|
org.bukkit.inventory.ItemStack |
WauzRuneBuilder.generate(Tier tier,
Rarity rarity)
Generates the rune item stack, as configured in the builder.
|
org.bukkit.inventory.ItemStack |
WauzEquipmentBuilder.generate(Tier tier,
Rarity rarity,
EquipmentType type,
java.lang.String name)
Generates the equipment item stack, as configured in the builder.
|