| Modifier and Type | Method and Description |
|---|---|
Wand |
CastContext.getWand() |
| Modifier and Type | Method and Description |
|---|---|
Wand |
MageData.getSoulWand()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MageData.setSoulWand(Wand soulWand)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Wand |
PathUpgradeEvent.getWand() |
Wand |
WandDeactivatedEvent.getWand() |
Wand |
AddSpellEvent.getWand() |
Wand |
WandActivatedEvent.getWand() |
Wand |
WandPreActivateEvent.getWand() |
Wand |
WandUpgradeEvent.getWand() |
Wand |
SpellUpgradeEvent.getWand() |
Wand |
CraftWandEvent.getWand() |
| Constructor and Description |
|---|
AddSpellEvent(Mage mage,
Wand wand,
SpellTemplate spell) |
CraftWandEvent(Mage mage,
Wand wand) |
PathUpgradeEvent(Mage mage,
Wand wand,
MageClass mageClass,
ProgressionPath oldPath,
ProgressionPath newPath) |
SpellUpgradeEvent(Mage mage,
Wand wand,
SpellTemplate oldSpell,
SpellTemplate newSpell) |
WandActivatedEvent(Mage mage,
Wand wand) |
WandDeactivatedEvent(Mage mage,
Wand wand) |
WandPreActivateEvent(Mage mage,
Wand wand) |
WandUpgradeEvent(Mage mage,
Wand wand,
WandUpgradePath oldPath,
WandUpgradePath newPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
Cost.deduct(Mage mage,
Wand wand)
Deduct these costs from the specified Mage
|
void |
Cost.deduct(Mage mage,
Wand wand,
CostReducer reducer)
Deduct these costs from the specified Mage
|
boolean |
Cost.has(Mage mage,
Wand wand)
Whether or not a mage has the required costs.
|
boolean |
Cost.has(Mage mage,
Wand wand,
CostReducer reducer)
Whether or not a mage has the required costs.
|
| Modifier and Type | Method and Description |
|---|---|
Wand |
MageContext.checkWand() |
Wand |
Mage.checkWand()
Force a re-check of the current active wand vs the item the player is holding.
|
Wand |
MagicAPI.createUpgrade(String wandKey)
Create an upgrade Wand item from a template.
|
Wand |
MageController.createUpgrade(String wandKey) |
Wand |
MagicAPI.createWand(org.bukkit.inventory.ItemStack item)
Turn the given ItemStack into a wand
|
Wand |
MageController.createWand(org.bukkit.inventory.ItemStack item)
Creates a copy of the given item and turns it into a Wand.
|
Wand |
MagicAPI.createWand(org.bukkit.Material iconMaterial,
short iconData)
Create a new Wand instance out of a given Material type.
|
Wand |
MagicAPI.createWand(String wandKey)
Create a new Wand from a template.
|
Wand |
MageController.createWand(String wandKey)
Create a new Wand from a template.
|
Wand |
Mage.findWand(String template)
Find a wand with a particular template in the Mage's inventory.
|
Wand |
Mage.getActiveWand()
Get the active Wand being used by this Mage.
|
Wand |
Mage.getBoundWand(String template)
Get a bound wand.
|
Wand |
MageController.getIfWand(org.bukkit.inventory.ItemStack item)
Only returns a Wand instance of the item is already a wand.
|
Wand |
Mage.getOffhandWand() |
Wand |
Mage.getSoulWand()
Deprecated.
|
Wand |
MageContext.getWand() |
Wand |
MageController.getWand(org.bukkit.configuration.ConfigurationSection config) |
Wand |
MagicAPI.getWand(org.bukkit.inventory.ItemStack item)
Load a Wand instance of an ItemStack.
|
Wand |
MageController.getWand(org.bukkit.inventory.ItemStack item)
Obtains a wand from an item stack.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends Wand> |
Mage.getBoundWands() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CasterProperties.add(Wand other) |
boolean |
ProgressionPath.checkUpgradeRequirements(Wand wand,
Mage mage) |
org.bukkit.inventory.ItemStack |
MageController.createBrushItem(String materialKey,
Wand wand,
boolean isItem) |
boolean |
Mage.tryToOwn(Wand wand) |
void |
Mage.unbind(Wand wand) |
void |
ProgressionPath.upgrade(Mage mage,
Wand wand) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpellTemplate.addLore(Messages messages,
Mage mage,
Wand wand,
List<String> lore) |
boolean |
Spell.cast(Wand wand,
org.bukkit.configuration.ConfigurationSection parameters) |
| Modifier and Type | Method and Description |
|---|---|
Wand |
Wand.duplicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Wand.add(Wand other,
Mage mage)
Deprecated.
|
boolean |
WandUpgradePath.canEnchant(Wand wand) |
void |
WandUpgradePath.checkMigration(Wand wand) |
boolean |
WandTemplate.playEffects(Wand wand,
String key) |
boolean |
WandTemplate.playEffects(Wand wand,
String key,
float scale) |
void |
WandUpgradePath.upgrade(Wand wand,
Mage mage) |
Copyright © 2021 elMakers. All rights reserved.