| Modifier and Type | Method and Description |
|---|---|
Mage |
CastContext.getMage() |
| Modifier and Type | Method and Description |
|---|---|
default void |
SpellAction.load(Mage mage,
org.bukkit.configuration.ConfigurationSection data)
Deprecated.
|
default void |
SpellAction.save(Mage mage,
org.bukkit.configuration.ConfigurationSection data)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Mage |
UndoList.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MaterialBrush.update(Mage mage,
org.bukkit.Location location) |
| Modifier and Type | Method and Description |
|---|---|
Mage |
MagicBlock.getMage() |
| Modifier and Type | Method and Description |
|---|---|
void |
Currency.deduct(Mage mage,
CasterProperties caster,
double amount)
Deduct some currency from the specified Mage
|
default void |
Currency.deduct(Mage mage,
double amount) |
default double |
Currency.getBalance(Mage mage) |
double |
Currency.getBalance(Mage mage,
CasterProperties caster)
Get the amount of this currency type a Mage has.
|
boolean |
Currency.give(Mage mage,
CasterProperties caster,
double amount)
Give some currency to the specified Mage
|
default boolean |
Currency.give(Mage mage,
double amount) |
boolean |
Currency.has(Mage mage,
CasterProperties caster,
double amount)
Whether or not a mage has at least a certain amount of this currency.
|
default boolean |
Currency.has(Mage mage,
double amount) |
| Modifier and Type | Method and Description |
|---|---|
Mage |
EarnEvent.getMage() |
Mage |
PathUpgradeEvent.getMage() |
Mage |
WandDeactivatedEvent.getMage() |
Mage |
AddSpellEvent.getMage() |
Mage |
WandActivatedEvent.getMage() |
Mage |
PreCastEvent.getMage() |
Mage |
WandPreActivateEvent.getMage() |
Mage |
MageLoadEvent.getMage() |
Mage |
MagicMobDeathEvent.getMage() |
Mage |
SpellInventoryEvent.getMage() |
Mage |
WandUpgradeEvent.getMage() |
Mage |
SpellUpgradeEvent.getMage() |
Mage |
CraftWandEvent.getMage() |
Mage |
StartCastEvent.getMage() |
Mage |
CastEvent.getMage() |
| Constructor and Description |
|---|
AddSpellEvent(Mage mage,
Wand wand,
SpellTemplate spell) |
CastEvent(Mage mage,
Spell spell,
SpellResult result) |
CraftWandEvent(Mage mage,
Wand wand) |
EarnEvent(Mage mage,
String type,
double amount,
EarnEvent.EarnCause cause) |
MageLoadEvent(Mage mage,
boolean firstTime) |
PathUpgradeEvent(Mage mage,
Wand wand,
MageClass mageClass,
ProgressionPath oldPath,
ProgressionPath newPath) |
PreCastEvent(Mage mage,
Spell spell) |
SpellInventoryEvent(Mage mage,
boolean isOpening) |
SpellUpgradeEvent(Mage mage,
Wand wand,
SpellTemplate oldSpell,
SpellTemplate newSpell) |
StartCastEvent(Mage mage,
Spell spell,
SpellResult result,
boolean success) |
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)
Deduct these costs from the specified Mage
|
void |
Cost.deduct(Mage mage,
CasterProperties caster,
CostReducer reducer)
Deduct these costs from the specified Mage
|
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
|
double |
Cost.getBalance(Mage mage,
CasterProperties caster)
Get the amount of this cost type a Mage has.
|
boolean |
Cost.give(Mage mage,
CasterProperties caster)
Give these costs to the specified Mage
|
boolean |
Cost.has(Mage mage)
Whether or not a mage has the required costs.
|
boolean |
Cost.has(Mage mage,
CasterProperties caster,
CostReducer reducer)
Whether or not a mage has the required costs.
|
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 |
|---|---|
long |
Kit.getRemainingCooldown(Mage mage) |
void |
Kit.give(Mage mage) |
boolean |
Kit.isAllowed(Mage mage) |
| Modifier and Type | Method and Description |
|---|---|
Mage |
MageController.getAutomaton(String id,
String name) |
Mage |
MageController.getBlockMage(String id,
String name) |
Mage |
MageController.getConsoleMage() |
Mage |
CasterProperties.getMage() |
Mage |
MageContext.getMage() |
Mage |
MagicAPI.getMage(org.bukkit.command.CommandSender sender)
Deprecated.
|
Mage |
MageController.getMage(org.bukkit.command.CommandSender sender) |
Mage |
MageController.getMage(org.bukkit.entity.Entity entity) |
Mage |
MagicAPI.getMage(org.bukkit.entity.Entity entity,
org.bukkit.command.CommandSender sender)
Deprecated.
|
Mage |
MageController.getMage(org.bukkit.entity.Player player) |
Mage |
MageController.getMage(String id,
String name) |
Mage |
MageController.getRegisteredMage(org.bukkit.entity.Entity entity) |
Mage |
MageController.getRegisteredMage(String mageId) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Mage> |
MagicAPI.getAutomata()
Get a list of all known Automaton records.
|
Collection<Mage> |
MagicAPI.getMages()
Deprecated.
|
Collection<Mage> |
MageController.getMages() |
Collection<Mage> |
MagicAPI.getMagesWithPendingBatches()
Get all currently loaded Mage instances that have
pending construction batches.
|
Collection<Mage> |
MageController.getMobMages() |
| Modifier and Type | Method and Description |
|---|---|
MagicNPC |
MageController.addNPC(Mage creator,
String name) |
boolean |
MageController.cast(Mage mage,
String spellName,
org.bukkit.configuration.ConfigurationSection parameters,
org.bukkit.command.CommandSender sender) |
boolean |
ProgressionPath.checkUpgradeRequirements(Wand wand,
Mage mage) |
org.bukkit.inventory.ItemStack |
MageController.createDisabledItem(String magicItemKey,
Mage mage) |
org.bukkit.inventory.ItemStack |
MagicAPI.createItem(String magicItemKey,
Mage mage) |
org.bukkit.inventory.ItemStack |
MageController.createItem(String magicItemKey,
Mage mage) |
org.bukkit.inventory.ItemStack |
MageController.createItem(String magicItemKey,
Mage mage,
boolean brief,
ItemUpdatedCallback callback) |
org.bukkit.inventory.ItemStack |
MageController.createSpellItem(String spellKey,
Mage mage,
boolean brief) |
void |
MageController.forgetMage(Mage mage)
This will remove a Mage after their undo queue and pending spell casts have completed.
|
String |
MageController.getDestructibleMaterials(Mage mage,
org.bukkit.Location location) |
String |
MageController.getReflectiveMaterials(Mage mage,
org.bukkit.Location location) |
Set<String> |
MageController.getSpellOverrides(Mage mage,
org.bukkit.Location location) |
boolean |
Trigger.isValid(Mage mage) |
void |
MageController.logBlockChange(Mage mage,
org.bukkit.block.BlockState priorState,
org.bukkit.block.BlockState newState) |
void |
MageController.removeMage(Mage mage) |
void |
ProgressionPath.upgrade(Mage mage,
Wand wand) |
| Modifier and Type | Method and Description |
|---|---|
Mage |
MageSpell.getMage() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpellTemplate.addLore(Messages messages,
Mage mage,
Wand wand,
List<String> lore) |
MageSpell |
SpellTemplate.createMageSpell(Mage mage) |
void |
MageSpell.setMage(Mage mage) |
| Modifier and Type | Method and Description |
|---|---|
Mage |
Wand.getMage() |
| Modifier and Type | Method and Description |
|---|---|
void |
Wand.activate(Mage mage)
Deprecated.
|
boolean |
Wand.add(Wand other,
Mage mage)
Deprecated.
|
int |
Wand.enchant(int levels,
Mage mage) |
int |
Wand.enchant(int levels,
Mage mage,
boolean addSpells) |
Spell |
Wand.getSpell(String key,
Mage mage) |
boolean |
Wand.organizeInventory(Mage mage) |
boolean |
WandTemplate.playEffects(Mage mage,
String key)
Deprecated.
|
boolean |
WandTemplate.playEffects(Mage mage,
String key,
float scale)
Deprecated.
|
void |
WandUpgradePath.upgrade(Wand wand,
Mage mage) |
Copyright © 2021 elMakers. All rights reserved.