public class WauzEquipmentHelper
extends java.lang.Object
| Constructor and Description |
|---|
WauzEquipmentHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getEnhancedEquipment(org.bukkit.entity.Player player,
java.lang.String enhancementId,
int enhancementLevel)
Gives an equipment piece with a specific enhancement, if valid enhancementId provided.
|
static org.bukkit.inventory.ItemStack |
getEnhancedEquipment(WauzEnhancement enhancement,
int enhancementLevel)
Creates an equipment piece with a specific enhancement.
|
static boolean |
getRune(org.bukkit.entity.Player player,
java.lang.String runeId)
Gives a rune of a specific type, if valid runeId provided.
|
static org.bukkit.inventory.ItemStack |
getRune(WauzRune rune,
boolean debug)
Creates a rune of a specific type.
|
static boolean |
getSkillgemWeapon(org.bukkit.entity.Player player,
java.lang.String skillId)
Gives a weapon with socketed skillgem, if valid skillId provided.
|
static org.bukkit.inventory.ItemStack |
getSkillgemWeapon(WauzPlayerSkill skill,
org.bukkit.Material material,
boolean debug)
Creates a weapon with socketed skillgem.
|
public static boolean getSkillgemWeapon(org.bukkit.entity.Player player,
java.lang.String skillId)
player - The player that should receive the skillgem weapon.skillId - The id of the skill.public static org.bukkit.inventory.ItemStack getSkillgemWeapon(WauzPlayerSkill skill, org.bukkit.Material material, boolean debug)
skill - The skill inside the weapon.material - The material of the weapon item stack.debug - If the weapon should have debug stats. Otherwise a starter weapon is created.public static boolean getEnhancedEquipment(org.bukkit.entity.Player player,
java.lang.String enhancementId,
int enhancementLevel)
player - The player that should receive the skillgem weapon.enhancementId - The id of the enhancement.enhancementLevel - The level of the enhancement.public static org.bukkit.inventory.ItemStack getEnhancedEquipment(WauzEnhancement enhancement, int enhancementLevel)
enhancement - The enhancement of the equipment.enhancementLevel - The level of the enhancement.public static boolean getRune(org.bukkit.entity.Player player,
java.lang.String runeId)
player - The player that should receive the rune.runeId - The id of the rune.public static org.bukkit.inventory.ItemStack getRune(WauzRune rune, boolean debug)
rune - The type of the rune.debug - If the rune should have debug stats. Otherwise a starter rune is created.