Class ConjureArmor
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.ConjureItemSpell
com.binaris.wizardry.content.spell.sorcery.ConjureArmor
-
Field Summary
Fields inherited from class com.binaris.wizardry.content.spell.abstr.ConjureItemSpell
SUPPORTED_ITEMSFields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanConjures the item for the caster.Methods inherited from class com.binaris.wizardry.content.spell.abstr.ConjureItemSpell
addItemExtras, cast, isSummonableItem, isSummonableItem, isSummoned, properties, registerSupportedItem, spawnParticlesMethods inherited from class com.binaris.wizardry.api.content.spell.Spell
assignProperties, canCastByEntity, canCastByLocation, cast, cast, endCast, equals, getAction, getChargeUp, getCooldown, getCost, getDesc, getDescriptionFormatted, getDescriptionId, getElement, getIcon, getLocation, getLoopSounds, getOrCreateDescriptionId, getOrCreateLocation, getPitch, getPitchVariation, getProperties, getTier, getType, getVolume, isEnabled, isInstantCast, onCharge, playSound, playSound, playSound, playSoundLoop, playSoundLoop, property, requiresPacket, soundValues, toString
-
Constructor Details
-
ConjureArmor
public ConjureArmor()
-
-
Method Details
-
conjureItem
Description copied from class:ConjureItemSpellConjures the item for the caster. This method creates an ItemStack of the specified item, gets the conjure data for it and establishes the duration and expiration time based on the spell properties and modifiers. The conjure data is then associated with the item stack, and the item is added to the caster's inventory. If the caster's inventory is full, a message is sent to the player and the method returns false.- Overrides:
conjureItemin classConjureItemSpell- Parameters:
ctx- the context of the spell cast, containing information about the caster, the world, and the spell modifiers- Returns:
- true if the item was successfully conjured and added to the caster's inventory, false otherwise
- See Also:
-